ASSET_DATA_IS_MISSING error on create text_asset

2020-12-09 Thread Eleni Lianou
Hello, I am trying to create a text asset using the REST interface and I get the error ASSET_DATA_IS_MISSING Here's my request: {"operations":[{"create":{"text_asset":{"text":"Test text"}}}]} and here's the error I get: 400 - {"error":{"code":400,"message":"Request contains an invalid

Proximity suggestions through Google Ads API

2020-10-29 Thread Eleni Lianou
Hello, I would like to ask how I can implement proximity suggestions through the API, the same way like the lookup for locations. For example with SuggestGeoTargetConstants I can search "New York" and a bunch of results appear. Can I do the same thing with an address or geo point , for

Re: Unrecognized fields in ad_group_ad

2020-10-21 Thread Eleni Lianou
Hello, thank you for your reply. I figured it out. Some ad group ads do not have a policy summary, that's why it returned the error message. If I query only with ad_group_ad.policy_summary it works fine. This one works: SELECT ad_group.id , ad_group.resource_name , ad_group_ad.policy_summary

Unrecognized fields in ad_group_ad

2020-10-20 Thread Eleni Lianou
Hello, I'm trying to get the policy summary from the ad_group_ad, but I get an error : "Unrecognized fields in the query: 'ad_group_ad.policy_summary.review_status', 'ad_group_ad.policy_summary.approval_status'." I use the following query: SELECT ad_group.id , ad_group.resource_name ,