I am trying this query:

URL: 
https://googleads.googleapis.com/v16/customers/{{account-id}}/googleAds:search

Body:
{
"query": "SELECT ad_group.id, ad_group_asset.status FROM ad_group_asset 
WHERE ad_group.type IN ('DISPLAY_STANDARD', 'UNKNOWN')"
}
I have added more fields to the above query but I am still not getting 
these campaigns, even though there are display/responsive display ads 
running on this accounts & I have tried 5-6 different accounts but still 
nothing.
Also tried campaign asset but nothing available there as well.


On Monday, November 11, 2024 at 12:26:55 PM UTC+5:30 Ritvik Singhvi wrote:

> I will try it out but just to confirm- all adgroup/ad types are supported 
> for ad_group_asset resource, unlike ad_group_ad_asset resource, which 
> supports only the aforementioned 2?
>
> On Monday, November 11, 2024 at 9:23:44 AM UTC+5:30 Google Ads API Forum 
> Advisor wrote:
>
>> Hi,
>>
>> Thank you for reaching out to the Google Ads API support team.
>>
>> As you are trying to fetch the all available ad types, I would suggest to 
>> use the ad_group_ad.ad.type 
>> <https://developers.google.com/google-ads/api/fields/v18/ad_group_ad#ad_group_ad.ad.type>
>>  field from 
>> the ad_group_ad_asset_view 
>> <https://developers.google.com/google-ads/api/fields/v18/ad_group_ad_asset_view>.
>>  
>> However the ad_group_ad 
>> <https://developers.google.com/google-ads/api/fields/v18/ad_group_ad> is 
>> a attributed resource for the ad_group_ad_asset_view and currently we only 
>> support AdGroupAdAssetView for AppAds and Responsive Search Ads.
>>
>> As per the ad_group_asset 
>> <https://developers.google.com/google-ads/api/fields/v18/ad_group_asset_query_builder?hl=en>
>>  resource 
>> you can only retrieve the ad_group.type and asset.type. If still you are 
>> unable to fetch the ad types, kindly provide us with the uncropped UI 
>> screenshot with a visible customer Id by highlighting the ad types and 
>> fields that you are trying to fetch using Google Ads API.  
>>   
>> This message is in relation to case 
>> "ref:!00D1U01174p.!5004Q02vGirp:ref" (ADR-00274855)
>>
>> Thanks,
>>   
>> [image: Google Logo] Google Ads API Team 
>>
>>  
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/b8db27b2-6377-45f6-b0f3-2ae5ff5393f0n%40googlegroups.com.
  • Ho... 'Ritvik Singhvi' via Google Ads API and AdWords API Forum
    • ... 'Ritvik Singhvi' via Google Ads API and AdWords API Forum
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... 'Ritvik Singhvi' via Google Ads API and AdWords API Forum
          • ... 'Ritvik Singhvi' via Google Ads API and AdWords API Forum
          • ... 'Ritvik Singhvi' via Google Ads API and AdWords API Forum
            • ... Google Ads API and AdWords API Forum
    • ... Tamryn Leah Walker

Reply via email to