I would like to create an Ad Campaign with the Marketing API but I don't know where I can set the target URL of this campaign.
I can set the objective of the campaign to WEBSITE_CLICKS but where to set the URL it will goes to?
If I use the Web Ads Manager, when I click create campaign and select the objective of "web site click", then I have to enter the promoted URL. But with the API I don't find where I can set this.
Thanks,
Julien
I finally found where I can find the promoted URL of my Ad.
In fact when you generate your Ad through the Web Ad Manager it will create a hidden post on the Facebook page that is used for the Ad (see this blog post). And Ad creative use an object_story_id and object_story_spec to link to it. So I can find my link in the field 'object_story_spec' of the creative.
So the link is in object_story_spec.link_data.link of the creative of the Ad.