Dear support team,

I'm trying to fetch all Ads located in a campaign in an account. 
Unfortunately the result of my query does not include our YouTube Ads. 

My adwords-phplib-query is the following:

$user = new AdWordsUser();

$user->SetClientCustomerId('MY_CLIENT_CUSTOMER_ID');

$adGroupAdService = $user->getService('AdGroupAdService', ADWORDS_VERSION);

$query = 'SELECT Id, AdType, Dimensions, TemplateAdName, UniqueName WHERE 
 Status IN [ENABLED, PAUSED, DISABLED] ORDER BY Id LIMIT 0,500';
$results = $adGroupAdService->query($query);


I get 215 Ads but the YouTube Ads are missing. Am I querying wrong here? 

Best regards, 
Markus



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf717bd2-8eb8-4dcd-a4a4-a7fb07f5c03c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Missing all Yout... Markus Wigbels
    • Re: Missing... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
      • Re: Mis... Markus Wigbels
        • Re:... 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum

Reply via email to