adGroupTargeting is set during creation of FeedItem, using this snippet of 
code:
  $adGroupTargeting = new FeedItemAdGroupTargeting();
  $adGroupTargeting->TargetingAdGroupId = $adGroupId;
  $item->adGroupTargeting = $adGroupTargeting;


  $campaignTargeting = new FeedItemCampaignTargeting();
  $campaignTargeting->TargetingCampaignId = $campaignId;
  $item->campaignTargeting = $campaignTargeting;

But doesn't show later on:
      ["campaignTargeting"]=>
      NULL
      ["adGroupTargeting"]=>
      NULL

So we have nothing to go off of to identify FeedItems, but the extended 
text ads are still filling in values dynamically, and it seems like the 
system knows, internally, which FeedItems to associate with each ad as we 
can see from the AdWords Dashboard: 
<https://lh3.googleusercontent.com/-BrHHNsbEqng/WGMJHClWPqI/AAAAAAAAAAM/Da3_kOOFc0ILY-dwxjwmWgfZnaOel_dfgCLcB/s1600/Capture.JPG>




On Tuesday, December 27, 2016 at 2:15:25 PM UTC-8, s...@feedonomics.com 
wrote:
>
> How do ads know which FeedItem to inject placeholders within the ad with? 
> Looking at our FeedItems, I see: 
>
> object(FeedItem)#46 (14) {
>       ["feedId"]=>
>       string(8) "41951232"
>       ["feedItemId"]=>
>       string(10) "9721062641"
>
> as the only unique identifiers for the FeedItem. So how do the ads know 
> which FeedItem to use for the dynamic values?
>
> I need to know this, because I need to update associated FeedItems when we 
> have inventory or price changes within our API script.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cc385f9a-7cea-4472-bed8-912f5853e501%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to