Re: how to get the geo data of google ads one day?

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Chaoming, Unfortunately, we can’t share query results on the forum thread. Could you reach out to us on googleadsapi-supp...@google.com support alias along with the complete request and response logs with request ID generated on your end, so that we can share the result for the GAQL? Also,

Re: GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Hello Aryeh, could you please guide me on how to send a private message here? Very appreciated. Thank you. Lukas. On Tuesday, 16 November 2021 at 21:44:18 UTC+1 adsapi wrote: > Hi Lukas, > > Thank you for bringing this to our attention. Could you privately send us > a full screenshot of the U

Mutates are not allowed for the requested resource

2021-11-16 Thread Janvi Vakotar
Uses below script def _create_display_upload_ad_group_ad( client, customer_id, ad_group_id, ad_asset_resource_name ): """Creates a new HTML5 display upload ad and adds it to the given ad group. Args: client: An initialized Google Ads client. customer_id: The Google Ad

Re: Ad Group Operating System Restriction

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Lonny, Thank you for sharing with our team the screenshots. To confirm the UI appears to be referring to a campaign's settings and targeting OperatingSystemVersionInfo should already be supported at the campaign level, via the Google Ads API. Moving forward, the API supported criterion IDs

Re: how to get the geo data of google ads one day?

2021-11-16 Thread 'chaoming chen' via AdWords API and Google Ads API Forum
thank you for your remind, I checked my code again, there were some problems when inserted into the MySQL database. There were 15 original data returned by the API. but There were two questions: 1. the same AD group returned two pieces of the same data in the same city. 2. The click and impr

RE: GAQL for obtaining Non eligible keywords

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Lukas, Thank you for bringing this to our attention. Could you privately send us a full screenshot of the UI showing with the 'not eligible low search volume' status? Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey

RE: Upload Click Conversions using Manager account

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Wesley, You have generated a gclid from a campaign that does not use cross account actions. If you meant that the campaign is in another account then it will go up against the rule that The ConversionAction has to exist in the effective conversion account of the click's Google Ads account.

Re: Ad Group Operating System Restriction

2021-11-16 Thread Lonny Kapelushnik
Hi, thanks for the quick follow-up. I just sent a PM with an example, but as noted I think I just got confused in the UI and I was really looking at campaign settings and not ad group settings. However, the OS constant campaign criterion for the campaign I PMed you is operatingSystemVersionCon

RE: Account deleted error "400 Bad Request"

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello, Thank you for raising your concern. I understand that you’ve encountered the error, 'invalid_grant'. Can you please try regenerating your OAuth2 credentials along with the refresh token and see if this behavior persists? Please let us know if you continue to see this issue. Reminder: S

RE: CriterionError.KEYWORD_HAS_TOO_MANY_WORDS

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello Wayne, Thanks for reaching out to the Google Ads API support team. I understand that you’ve encountered an error, CriterionError.KEYWORD_HAS_TOO_MANY_WORDS. Keywords are limited to 10 words. Please ensure you are under this limit and retry. Please note that the AdWords API is deprecated

RE: setting language parameter in new campaign class

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Filip, Thank you for providing your own solution. Oleg, please also note that there is a code example that makes use of the CampaignCriterionService to add campaign targeting criteria. Regards, Matt Google Ads API Team Reminder: Share your feedback about the Google Ads (AdWords) API! Take

RE: Ad Group Operating System Restriction

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Lonny, I work with Peter and will assist you. We received your private message, you can send us privately the screenshot and we can continue. Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Regards, Aryeh Baker Go

RE: How to Update Responsive Search Ad Headlines & Descriptions with the Google Ads API

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Tadhg, Please sends us privately a screenshot of the UI filtering a report based on what is in the headlines of an RSA ad. Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Regards, Aryeh Baker Google Ads API Team r

RE: How to Update Responsive Search Ad Headlines & Descriptions with the Google Ads API

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Tadhg, Thank you for reaching out to Google Ads/AdWords API support. You can get the headlines by using an ad_group_ad report. There's no GAQL filter for what is in the headlines in RSA's as ad_group_ad.ad.responsive_search_ad.headlines isn't capable of being in a 'where' clause. You can do

RE: Fetching Labels using GAQL

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Sumanth, I had to delete your message because it contained a log. Here's a copy of your message without the log: I am using below GAQL to fetch labels from campaign, but i am receiving the below result attached. GAQL used: SELECT campaign.labels, campaign.id, customer.id FROM campaign. Pl

RE: DUPLICATE_ASSET - Assets are duplicated across operations

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello, Thanks for reaching out. If you still have the logs for this issue, can you please try recreating that same request? If you create to the same asset between operations within a single request, you should be able to recreate the error. Thanks, Matt Google Ads API Team Reminder: Share y

Account deleted error "400 Bad Request"

2021-11-16 Thread 'Lukas' via AdWords API and Google Ads API Forum
Hello, I'm having a trouble while connecting to particular accounts. While making a request to get metrics information I receive this error message: Client error: `POST https://www.googleapis.com/oauth2/v4/token` resulted in a `400 Bad Request` response: { "error": "invalid_grant", "error_desc

RE: define logFilePath as environment variable

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Robert, There's no documented support to define the logFilePath as environment variable in our PHP client library. Could you state in business terms your use case? Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey Re

RE: Increase speed of upload customer match user list

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Tai, Thanks for reaching out. Please see my replies to your questions below: 1. We asumme to allow to submit up to 100,000,000 users per hour. In other words, the system should submit 1000 request/hours. Multiple thread is not a choice because of CONCURRENT_MODIFICATION error. Increase from

Re: GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Just to be clear, this is about Google Ads API and not AdWords API On Tuesday, 16 November 2021 at 16:12:14 UTC+1 Lukas St wrote: > Hello, > > I can't figure out from the documentation how should I get all the non > eligible keywords (See screenshot). > > What I found: > Keyword has an ad group

GAQL for obtaining Non eligible keywords

2021-11-16 Thread Lukas St
Hello, I can't figure out from the documentation how should I get all the non eligible keywords (See screenshot). What I found: Keyword has an ad group criterion, and ad group criterion has 2 ENUM values: ad_group_criterion.system_serving_status (ELIGIBLE,RARELY_SERVED,UNKNOWNUN,SPECIFIED) and

Re: Getting criterion ID for one keyword

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Filip, If you want to get the ID of a keyword by keyword text, you can use the following query: SELECT ad_group_criterion.criterion_id, ad_group_criterion.keyword.text, ad_group_criterion.type FROM ad_group_criterion WHERE ad_group_criterion.type = 'KEYWORD' AND ad_group_criterion.keyword.t

RE: Got error when create custom conversion goal

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hello, Thanks for reaching out. Can you please reply privately to us with your complete request and response logs so we may investigate the issue? Thanks, Matt Google Ads API Team Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API An

Upload Click Conversions using Manager account

2021-11-16 Thread Wesley van Opdorp
Hello, I'm having some trouble trying to upload click conversions using the api. The error I'm receiving is: *This customer does not have an import conversion action that matches the conversion action provided* Let me provide me some context as how we've come to receive this error. Our account

How to Update Responsive Search Ad Headlines & Descriptions with the Google Ads API

2021-11-16 Thread Tadhg Deeney
Hi team, I'm learning the basics of how to use the Google Ads API for campaign management. I'd like to update some of our RSAs to remove Promotional Headlines & Descriptions from the copy in the current ad and ideally replace it with the latest copy for the next promotion. I'm struggling on 2

Fetching Labels using GAQL

2021-11-16 Thread sumanth reddy
Hi Team, I am using below GAQL to fetch labels from campaign, but i am receiving the below result attached. GAQL used: SELECT campaign.labels, campaign.id, customer.id FROM campaign. Please let us know how can we fetch labels using GAQL. Thanks Sumanth -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Re: setting language parameter in new campaign class

2021-11-16 Thread Filip Pećanac
Hi Oleg, In PHP I have used the following code to add language(s): $campaignResourceName = ResourceNames::forCampaign($customerId, $campaignId); $campaignCriterionOperations = []; $campaignCriterion = new CampaignCriterion([ 'campaign' => $campaignResourceName, 'type' => CriterionType::LANGUAGE

Re: setting language parameter in new campaign class

2021-11-16 Thread Filip Pećanac
Hi Oleg, In PHP I have used the following code to add language(s): $campaignResourceName = ResourceNames::forCampaign($customerId, $campaignId); $campaignCriterionOperations = []; $campaignCriterion = new CampaignCriterion([ 'campaign' => $campaignResourceName, 'type' => CriterionType::LANGUAGE

define logFilePath as environment variable

2021-11-16 Thread Robert Zimmermann
Hello, is it possible to define the logFilePath as environment variable? https://developers.google.com/google-ads/api/docs/client-libs/php/configuration#configuration_environment_variables -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdevelo

Re: how to get the geo data of google ads one day?

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Chaoming, I was able to get a total of 9 records for the GAQL against the said customer id that you’ve provided with us. However, I can not provide you sensitive log results detail on this forum thread due to privacy reasons. From our end, our team would not be able to troubleshoot or furthe

CriterionError.KEYWORD_HAS_TOO_MANY_WORDS

2021-11-16 Thread Wayne
Hi, We are getting the error "CriterionError.KEYWORD_HAS_TOO_MANY_WORDS" when using Google Adwords API. It'd be great if you can provide us the maximum number of words allowed in a keyword. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googlea

DUPLICATE_ASSET - Assets are duplicated across operations

2021-11-16 Thread Дмитрий Волянюк
Hi Once I faced with DUPLICATE_ASSET error in my logs during ad creation process. After that i tried to reproduce this problem to somehow react on it in future but didn't catch it. If i create Ad with same images as in previously created Ad - i don't see this error. If i create one Ad and loa

Re: Getting criterion ID for one keyword

2021-11-16 Thread Filip Pećanac
Hi Peter, Thanks for the reply, but I think you have misunderstood me :) In the library there is GetKeywords.php example file which retrieves all keywords for specific Ad Group. The query used in this example is: $query = 'SELECT ad_group.id, ' . 'ad_group_criterion.type, ' . 'ad_group_criterio

Got error when create custom conversion goal

2021-11-16 Thread xuantoi....@gmail.com
Hi, I want to add conversion action to search campaign so base on this doc: https://developers.google.com/google-ads/api/docs/conversions/goals/campaign-goals#custom_goals I need to create custom conversion goal. But i got error while creating it. Here is my request Id: errors { error_code {

Increase speed of upload customer match user list

2021-11-16 Thread Tai Nguyen
Hi guys, Our company is building a system to allow user to upload their user list (customer match). We want to use python language for this task. Currently, we start with sample on Github (https://github.com/googleads/google-ads-python/blob/main/examples/remarketing/add_customer_match_user_lis

RE: How to set campaign goals as custome goals through google ads api

2021-11-16 Thread 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
Hi Ping, Thank you for posting your concern. To have a closer look at the issue, please provide the complete steps on how to replicate the issue and relevant complete request and response logs with request ID and request header generated on your end. You can provide it via Reply privately to a