Posts under category google-ads-api

I'm trying to get access to Display Ad images via the Google Ads API. At the moment, my code doesn't seem to be working for certain ads. As near as I can tell from my debugging efforts so far, the issue is that it's not working for HTML5 ads.

Here is the query I'm using :

SELECT      ad_group.name,      campaign.name,      ad_group_ad.ad.responsive_display_ad.logo_images,      ad_group_ad.ad.responsive_display_ad.marketing_images,      ad_group_ad.ad.image_ad.preview_image_url,      ad_group_ad.ad.image_ad.image_url FROM     ad_group_ad WHERE     campaign.advertising_channel_type = \'DISPLAY\' LIMIT     100 

For accounts using HTML5 ads, there is nothing returned for any of the last (4) fields. For other accounts, I'm using the "ad_group_ad.ad.image_ad.image_url" field to get the ad image.

What am I missing?

After updating Google Ads SDK to 19.0.0 gives a deprecated warning message for addTestDevice(), while I searched this link for resolving the issue but not succeed. how can I resolve it?

Here my code

mAdView.loadAd(new RequestConfiguration.Builder        .setTestDeviceIds(AdRequest.DEVICE_ID_EMULATOR) // show error        .setTestDeviceIds(DEV_ID) // show error        .build()); 

and developer site suggestion

Deprecated AdRequest.Builder.addTestDevice(). Use RequestConfiguration.Builder.setTestDeviceIds() instead.

There are only a few RPC methods that include the HTTP reference endpoint in the reference documentation.

I got the Google Ads Service's Mutate method to work with https://googleads.googleapis.com/v3/customers/{customer-id}/googleAds:mutate

However, trying to call the Keyword Plan Idea service fails, reporting there is no such URL on the server:

https://googleads.googleapis.com/v2/customers/{customer-id}/keywordPlanIdea:generateKeywordIdeas

I have tried it with and without the customers/{customer-id}, and with GET, POST, and even PUT. No luck.

Does anyone know the correct endpoint?

Thanks!

John

I don't understand how to use this. The instructions say to call gtag_report_conversion when the action I want to track happens. I want to track signup to my site, so I know that the action was completed in my reducers actions file after I get a confirmation fo succesful signup.

How do I use this gtag_report_conversion? What is it? Is it a function? How do I call it? There's surprisingly almost no info in the instructions.

How does AdWords even know which action it is I was trying to track? What if I am trying to track a bunch of different actions, how does it know which is which if all it asks me is to call gtag_report_conversion

Would love some clarification as I currently have no idea what to do with this info. PLus these things can take hours to propegate so I can't just tru and chack the console to see if it worked or not.