Throttling and limitations

2022-09-21 Thread Samir Sabri
Hello Is there any restrictions about sending concurrent Google Ads API requests to mutate location targeting for several campaigns at the same time? Considering that we are using the same API credentials for several Google Ads accounts

Type: request_error Code: UNKNOWN.

2023-03-07 Thread Samir Sabri
Hello We are experiencing error Type: request_errorCode: UNKNOWN. when accessing ads reporting. Sample of our code ``` @start_date = "2023-03-07" @end_date = "2023-03-07" @customer_id = '1234567890' query = <<~QUERY SELECT metrics.cost_micros FROM customer WHERE segments.date >= '#{@start_

Time to get geo targeting live?

2021-07-01 Thread Samir Sabri
Hello We use apis to set the geo targeting for our campaigns, the question is, if we set the geo targeting for some campaign at 08:00 AM for example, would there be any delay before the new targeting locations get live? ex: at 09:00 AM ? or it would be live immediately after successfully callin

account-performance-report enabled campaigns only?

2021-07-26 Thread Samir Sabri
Hello As for the account-performance-report, does it fetch only currently enabled campaigns? or any campaigns with any status? can we filter our disabled campaigns? Regards, Samir -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blo

Running API request agains inactive customer account?

2021-07-29 Thread Samir Sabri
Hello Is it possible to call a criteria performance or account performance report API request for an account that is inactive? We need to test our already fetched reports for specific customer accounts, however we get CUSTOMER_NOT_ACTIVE error. Also, is possible to get a list of all not activ

Unknown targeting value

2021-08-03 Thread Samir Sabri
Hello At the change history for targeting changes, we notice that we have unknown targeting value, as attached snapshot, as, the ids we have used are taken from the geo locations csv file version 2021-04-16 , while looking at https://developers.google.com/adwords/api/docs/appendix/geotargeting

Re: Unknown targeting value

2021-08-04 Thread Samir Sabri
Hello Matt, How can I contact you privately? On Tuesday, August 3, 2021 at 10:37:57 PM UTC+3 adsapi wrote: > Hi Samir, > > Thanks for reaching out. Can you please privately provide us with the > request and response logs so that we can look at which geo targets resulted > in the unknown change?

Re: Unknown targeting value

2021-08-05 Thread Samir Sabri
Hello Matt I have replied privately, can you please confirm that you got my reply. p.s: I've searched for the unknown location value in the latest geo targets locations CSV file and found the id as ACTIVE, example: Postal Code 9030700 your support is highly appreciated. Thank you, On Tuesday, A

Geo targets download by API?

2021-08-09 Thread Samir Sabri
Hello As for the geo targets here https://developers.google.com/adwords/api/docs/appendix/geotargeting although its handy to download it from browser, is there an API to download the latest geo targets? as we need to automate refreshing our DB with the latest updates of geo targets. Thanks in

Re: Geo targets download by API?

2021-08-15 Thread Samir Sabri
Thank you for update, is the location targeting ids for both APIs the same? (AdWord and Google Ads) or there is another version of ids for Google Ads API that is different than ids here https://developers.google.com/adwords/api/docs/appendix/geotargeting ? On Thursday, August 12, 2021 at 1:11:3

Re: Unknown targeting value

2021-08-18 Thread Samir Sabri
Hello Matt, thanks for your response, I have sent a private reply with required details. On Wednesday, August 18, 2021 at 12:05:17 AM UTC+3 adsapi wrote: > Hello, > > It seems you may not be receiving some messages from our team. The last > reply from our team was: > > To answer your question

Re: Unknown targeting value

2021-08-22 Thread Samir Sabri
Thanks Ernie for following up with me on this issue. So, do you mean that it's only a matter of UI issue? and nothing wrong with our used ids? On Friday, August 20, 2021 at 7:22:22 AM UTC+3 adsapi wrote: > Hi Samir, > > Thank you for providing the requested details. > > Upon checking some of the

Re: Unknown targeting value

2021-08-24 Thread Samir Sabri
Thanks Ernie On Monday, August 23, 2021 at 8:28:16 AM UTC+3 adsapi wrote: > Hi Samir, > > Thank you for the reply. > > Yes, upon checking the account and some of the geo Ids, I can confirm that > the Ids you've set are existing in the list but encountering an issue in > the UI. With this, pleas

Some times we get OpenSSL::SSL::SSLError

2021-09-27 Thread Samir Sabri
Hello Can you please help up us fix/diagnose why sometimes we get this error: OpenSSL::SSL::SSLError: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A /var/www/backend/shared/bundle/ruby/2.3.0/gems/httpclient-2.8.3/lib/httpclient/ssl_socket.rb:103:in `connect' /var/www

Re: Some times we get OpenSSL::SSL::SSLError

2021-10-04 Thread Samir Sabri
Thank you, as we did not change anything recently at our code base, our API calls is successful most of the time, however, we got that error above sometimes, we thought that this is something related to your side. Any idea? On Monday, September 27, 2021 at 5:15:58 PM UTC+3 adsapi wrote: > Hi Sa

How to remove criterion in Google Ads API?

2022-01-30 Thread Samir Sabri
Is there any example of removing criterion using the new Google Ads API? as we are migrating our code from Google AdWord to Google Ads Also, in general, is there a migration docs? Thanks in advance. - Samir -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: http

Re: How to remove criterion in Google Ads API?

2022-01-30 Thread Samir Sabri
Thanks adsapi, but what if I want to remove batch of criterion_id's in a single request? On Monday, January 31, 2022 at 9:30:11 AM UTC+3 adsapi wrote: > Hi Samir, > > Thanks for reaching out to the Google Ads API Forum. > > You may use *CampaignCriterionService.MutateCampaignCriteria* >

language removed ?

2022-05-18 Thread Samir Sabri
Hello In the geo-targeting changes listing, we started to see under Change column: *1 language removed English* But can you please advice us about that change ? we only update geo locations, not campaign language. Looking forward hearing form you, Samir -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=

What services would I need for getting costs?

2020-10-20 Thread Samir Sabri
I need to get money spent on the following: - per campaign - per ad group - per keyword - per click - per converted lead Obviously, I would need: - AdGroupService v201809 - CampaignService v201809

Re: What services would I need for getting costs?

2020-10-20 Thread Samir Sabri
Hello Anthony Thanks for your reply, I am applying to basic access level. As the design document is required, this doc is provided as an example, therefore I need to know which services would I need. The me

Re: What services would I need for getting costs?

2020-10-20 Thread Samir Sabri
Thank you for the clarification. Regards, Samir On Tue, 20 Oct 2020, 22:53 Google Ads API Forum Advisor Prod, < adsapiforumadvi...@gmail.com> wrote: > Hi Samir, > > If you are only going to use the API for reporting, then you will not need > services. Services are used to manage different entiti

Re: What services would I need for getting costs?

2020-10-21 Thread Samir Sabri
Thank you Anthony for clarification. Regards, On Tuesday, October 20, 2020 at 10:54:23 PM UTC+3 adsapiforumadvisor wrote: > Hi Samir, > > If you are only going to use the API for reporting, then you will not need > services. Services are used to manage different entities in your account. > This

Re: Lead cost from google ads api

2020-11-08 Thread Samir Sabri
Hello adsapiforumadvisor Is there any update on getting the cost for each individual click? I am not sure if I missed it at developer blog. Thank you On Tuesday, July 21, 2020 at 5:54:33 PM UTC+3 adsapiforumadvisor wrote: > Hi, > > You can get the list of GCLIDs using the Click View Report >

Getting customer ID by using GclId

2020-11-15 Thread Samir Sabri
Hello We have multiple customer IDs, and we have a history of GclIds We need to find a way to map each GclId to its customer ID The only way we found so far is to use CLICK_PERFORMANCE_REPORT with each customer ID individually. Isn't there any better way to handle this situation? -- -- =~=~=~

Getting customer ID by using GclId

2020-11-15 Thread Samir Sabri
Hello We have multiple customer IDs, and we have a history of GclIds We need to find a way to map each GclId to its customer ID The only way we found so far is to use CLICK_PERFORMANCE_REPORT by looping through customer IDs for each GclId until we find the result is not empty: adwords.config.se

Getting customer ID by using GclId

2020-11-15 Thread Samir Sabri
Hello We have multiple customer IDs, and we have a history of GclIds We need to find a way to map each GclId to its customer ID The only way we found so far is to use CLICK_PERFORMANCE_REPORT by looping through customer IDs for each GclId until we find the result is not empty. So, if we have 10

When is it ready to consume click performance report?

2020-12-06 Thread Samir Sabri
Hello We noticed that we get empty result when accessing CLICK_PERFORMANCE_REPORT against specific GclId right after we get the lead visit our website. However, if we try after one hour or so, we will get the expected data when accessing CLICK_PERFORMANCE_REPORT. The question is, what is th

Aggregate cost per ad group at criteria report?

2020-12-06 Thread Samir Sabri
Hello We use criteria performance report to get costs per ad group, however, we need to get the cost aggregated at ad group level, is this possible? as we noticed that costs are retrieved at keywords level which is an extra depth that we need not to have. Thanks, Please advice. -- -- =~=~=~

How to know the date of a GclId ?

2020-12-09 Thread Samir Sabri
Hello We are having difficulties in getting details related to GclId due to the fact that we don't have the exact date at which the impression time was when GclId got generated. As in the click performance criteria report: *The Date field indicates the time of the impression, not the time of

How long to wait before reading criteria report?

2020-12-30 Thread Samir Sabri
Hello As we are reading the criteria repot, we noticed that sometimes that the resulted numbers changes if we delay reading the report one hour right after the day got finished. For example, if we read day 2020-12-29 at first minute of next day, would that be Ok? shall we wait until all data g

Re: How long to wait before reading criteria report?

2020-12-30 Thread Samir Sabri
the report is Criteria Performance Report, please advice. Thanks again, Samir On Wednesday, December 30, 2020 at 1:02:35 PM UTC+3 Samir Sabri wrote: > Hello > > As we are reading the criteria repot, we noticed that sometimes that the > resulted numbers changes if we delay reading th

How long to wait before reading latest date?

2020-12-30 Thread Samir Sabri
Hello As we are reading Criteria Performance Report, we need to know how long does it take for the latest day to be accessed by query API? For example, if we read day 2020-12-30 at first minute of next day(2020-12-31), would that be Ok? Or shall we wait certain time before all data of the day

Re: How long to wait before reading latest date?

2020-12-30 Thread Samir Sabri
Thanks, what about cost related data at criteria report, would it be ready with the impression data as well ( within 3 hours?) On Thursday, December 31, 2020 at 1:27:25 AM UTC+3 adsapiforumadvisor wrote: > Hi Samir, > > Thank you for reaching out. In most cases, your account statistics (such >

Re: How long to wait before reading latest date?

2021-01-02 Thread Samir Sabri
Thank you very much. On Thursday, December 31, 2020 at 10:45:04 PM UTC+3 adsapiforumadvisor wrote: > Hi Samir, > > Thank you for reaching out. The cost related metrics are the same as the > impression such that they are usually delayed by less than three hours. > > > > Thanks and regards, > Xia

Why sometimes gclid is missing?

2021-01-03 Thread Samir Sabri
Hello Is there any chance that would we have the ad referral url without the gclid in it? As we noticed that the gclid is enabled at the customer account settings, however, sometimes we don't have it at the referral url. Is there any chance that the gclid would be missed in the referral ad url

Would the gclid get missed in any case?

2021-01-03 Thread Samir Sabri
Hello Is there any chance that would we have the ad referral url without the gclid in it? As we noticed that the gclid is enabled at the customer account settings, however, sometimes we don't have it at the referral url. Is there any chance that the gclid would be missed in the referral ad url

Would the gclid parameter get missed in any case?

2021-01-03 Thread Samir Sabri
Hello Is there any chance that would we have the URL without the gclid parameter in it? As we noticed that the gclid is enabled at the customer account settings, however, sometimes we don't have it in the URL. Is there any chance that the gclid parameter would be missed? -- -- =~=~=~=~=~=~=

Why AutoTaggingEnabled is not retrieved ?

2021-01-03 Thread Samir Sabri
I am using ManagedCustomerService to retrieve all customer accounts. in the selector, I am adding: ``` :fields => ['CustomerId', 'Name', 'DateTimeZone', 'AutoTaggingEnabled'], ``` however, in the result, I don't see any retrieved field related to AutoTaggingEnabled Any idea? -- -- =~=~=~=~=~=

OAuth2 refresh token expiration?

2021-01-04 Thread Samir Sabri
Hello As we have a setup for using Ads API via OAuth2, would the refresh token get expired after a while? do we need to maintain the credentials from time to time or is it active for ever? Thanks in advance. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: h

AuthorizationError.USER_PERMISSION_DENIED

2021-02-15 Thread Samir Sabri
Hello We had a request that resulted into: HTTP code: 400, error type: 'AuthorizationError.USER_PERMISSION_DENIED', trigger: '', field path: '' However, we have retired it the day after, and it worked fine, any idea why? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

best-practices VS Permissible Use ?

2021-03-30 Thread Samir Sabri
Hello We have a standard access level, and we are only using the APIs for reporting, we do not use any GET requests, and we do not mutate anything, we just fetch the ads spending cost for our own company, we do not share anything with any clients. The question is, do we have unlimited requests

Re: best-practices VS Permissible Use ?

2021-04-01 Thread Samir Sabri
Thank you for the clarification. On Tue, Mar 30, 2021 at 6:16 PM Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote: > Hi Samir, > > Thanks for reaching out. I see you have provided documentation from two > separate APIs. Reporting is different in each API so the limitations

How to update a campaign targeted location?

2021-04-13 Thread Samir Sabri
Hello How would a targeted location for a specific campaign get updated via API for exclusion or inclusion? And at what level can we actually set a targeted location for both exclusion or inclusion? Can we set it via the following: - Zip code level - Counties - Cities - State I c

How to get the used location targeting for a campaign?

2021-04-13 Thread Samir Sabri
For already created campaigns, how can we get the location targeting for each campaign? How can we get the following data: - Inclusion or exclusion. - Zip code. - Counties. - Cities. - States. Thank you, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our

Access level application form

2021-04-13 Thread Samir Sabri
Hello We already have been approved for the Standard access level, however, at the time we have submitted the application form, we said that we will only be using APIs for reporting only. Now, it seems that we will start using other APIs, like setting the targeting locations for a campaign. Do

Re: How to get the used location targeting for a campaign?

2021-04-14 Thread Samir Sabri
Thank you Anthony. I have tried to use the GetCampaignCriterion of CampaignCriterionService to get the targeted locations, I got this response: Service: CampaignCriterionService, Action: get, Response time: 213ms, Request ID: 0005bfeb47f5c2030a7b1c0db9026dab, Operations: 1, Is fault: false

Re: How to get the used location targeting for a campaign?

2021-04-14 Thread Samir Sabri
thanks for your response, as for that campaign, I am sure that our marketing team at least has targeted the united states as a country using the web ui.. but how can I reply privately? kindly see the snapshot attached. [image: Screen Shot 2021-04-15 at 5.04.34 AM.png] On Thursday, April 15, 202

Re: How to get the used location targeting for a campaign?

2021-04-18 Thread Samir Sabri
Thanks Anthony I found that I was testing with unused campaign, I tried another campaign and got location targeting results. Regard, Samir On Thursday, April 15, 2021 at 8:28:24 PM UTC+3 adsapiforumadvisor wrote: > Hi Samir, > > If you are unable to reply privately, you can email us at > googl

Getting campaigns that have been running for x hours

2021-04-19 Thread Samir Sabri
Hello For a specific customer account, we can get a listing of all campaigns, however, how can we get a listing of running campaigns that have been running for x hours? is that possible? Thanks, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googlead

Re: Getting campaigns that have been running for x hours

2021-04-19 Thread Samir Sabri
Thanks, but how can we get only the actively running campaigns? On Mon, Apr 19, 2021 at 9:18 PM Google Ads API Forum Advisor Prod < adsapiforumadvi...@gmail.com> wrote: > Hello, > > You can run the campaign report and select the field hour >

Re: Getting campaigns that have been running for x hours

2021-04-20 Thread Samir Sabri
Thanks Anthony, but I did not meat to investigate on a certain hour, but I needed to know which campaign that has been active for certain amount of hours. For example, I want to know which campaigns that have been running for 8 hours or more so far. We have custom logic that calculates the camp

maximum criterions number in one mutation?

2021-04-27 Thread Samir Sabri
Hello As we are trying to use the geo targeting for campaigns using API, we need to know what is the maximum number of criterions that can be added per one mutation? For example, if we have 2000 zipcodes, I assume we will need to have an array 2000 operations, each operation object would look