Re: Previously working code now has an Invalid Grant error?

2022-07-26 Thread Mike M
I took over this project from another developer (now no longer available to us) and recoded it, switching from the SOAP API to the REST API on Google Ads API. I found his config PHP and got the IDs I needed from there and continued using them. So, about 2 months ago I was using the Client ID,

RE: Previously working code now has an Invalid Grant error?

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi all, Thank you for getting back to us. I am Sherwin from Google Ads API and I work with Anthony. I hope that you are doing well today. @all. The invalid_grant usually occurs if the refresh token is already expired and the usual reasons are listed on this document. Add to that, a Google

SSL: CERTIFICATE_VERIFY_FAILED error

2022-07-26 Thread Zisha Weinstock
We've been using the Python google-ads library for a while now from behind our corporate firewall and it was working fine until yesterday. Last time it worked was yesterday 7/25/22 at 12:30pm EDT then at 1:30pm we started getting the following error: Exception:

Re: How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
I also tried to research why my Refresh Token expired. I mean, the whole point of a Refresh Token is so that you generate Access Tokens and they are the ones to expire, not your Refresh Token. I looked at the bullet items from this page from Google's docs and none of those bullet items applied

Re: How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
On the tail end of this request, to fully automate this Refresh Token renewal, do you think that I may need to generate a Service Account instead of doing it the Web Application oAuth Client technique? https://developers.google.com/google-ads/api/docs/client-libs/php/oauth-service We have

Re: GAQL query is working for predefined date ranges but not for custom date range

2022-07-26 Thread charlesb...@gmail.com
Hi, There's no "DURING" with GAQL. Try the GAQL query validator. On Tuesday, 26 July 2022 at 14:51:03 UTC-5 hema21...@gmail.com wrote: > Hi Team > > I'm trying to get the data based on the date range. The following query > is working fine if I'm specifying the predefined date ranges like >

Re: Performance Max (PMax) Insights via the API? Especially search terms or search categories

2022-07-26 Thread charlesb...@gmail.com
Hi, Ah, sorry about that - I've sent another will the full UI this time. To clarify, I'm within a PMax campaign then I've clicked on "Insights". I've found a screenshot of the same thing online (not my account) below: [image: performance-max-top-search-terms-1.png] Thanks! On Monday, 18 July

How To Automate Refresh Tokens using REST API

2022-07-26 Thread Mike M
I've been using 2 API calls to batch upload google offline click conversions. One generates the Access Token. The other is the API call to upload the offline click conversions. All was well for a few weeks until suddenly we started getting invalid_grant messages when trying to generate the

Re: Previously working code now has an Invalid Grant error?

2022-07-26 Thread Mike M
Sam, For some strange reason, I too also received this over the REST API for generating an Access Token from my Refresh Token. This caused the invalid_grant error for me. I'm not certain why my Refresh Token just stopped working. When it did, I followed this video with Google oAuth Playground

GAQL query is working for predefined date ranges but not for custom date range

2022-07-26 Thread Hema Sai Mamidi
Hi Team I'm trying to get the data based on the date range. The following query is working fine if I'm specifying the predefined date ranges like LAST_MONTH, LAST_7_DAYS. But, giving an error while trying to give the custom date ranges for "segments.date" . Could you pls let me know what is

Re: How to pin headlines in responsive search ads using google ads API ?

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hoshank, Thank you for getting back to us. Pin positions do not appear to be currently supported in the API. All relevant ad attributes and fields are listed in the ad_group_ad report. That said, if the pin positions are available in the Google Ads UI, you may provide our team with the

Get the list of Customer IDs under a Manager account

2022-07-26 Thread Miguel Angel Garcia
I want to get info (just for reporting) of all the customers that are being managed by my Manager account. I'm specially interested in getting a list of all the Customer IDs, but having other extra info and stats would be nice too. I've tried with

Splitting responsive_search_ad.headlines to get impressions and clicks by headline

2022-07-26 Thread Hubert Kunc
Hello guys, For few hours I try to get metrics (clicks, impressions, conversions) for each headline (responsive_search_ad) separately but I can't find how. I used this query: SELECT ad_group_ad.ad.responsive_search_ad.headlines, metrics.clicks, metrics.conversions FROM ad_group_ad WHERE

RE: Cannot Remove App Campaign from SharedSet

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mehmet, Thank you for reaching out to the Google Ads API support team. To investigate the issue further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client

Re: Which report will get the campaign id or name with gclid?

2022-07-26 Thread JM
with REST, only this is returned { "fieldMask": "campaign.id,campaign.name" } with JAVA, this is returned INFO: SUCCESS REQUEST SUMMARY. Method: google.ads.googleads.v11.services.GoogleAdsService/SearchStream, Endpoint: googleads.googleapis.com:443, CustomerID: x, RequestID:

Re: Which report will get the campaign id or name with gclid?

2022-07-26 Thread Joe Man
I tried querying the click_view table, but why does it return nothing? Is data not populated in click_view for App campaigns? SELECT campaign.id, campaign.name FROM click_view where segments.date DURING YESTERDAY On Thu, Jul 21, 2022 at 3:18 PM Google Ads API Forum Advisor wrote: > Hi

Re: Keyword View Query returning Empty Results

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Aarthi, Thank you for sending updates on your concern. If you have additional questions regarding the topic being discussed in this thread, feel free to send those over to our team and we would be happy to assist you further. Cheers, Anthony Cyril Google Ads API Team

Re: Error request for Google Ads report API

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Xin, Thank you for reaching out. For the developer token is not approved. Non-approved developer tokens can only be used with test accounts" error message when you tried to access the production accounts with the test developer access. It is intended to get the error

Re: Keyword View Query returning Empty Results

2022-07-26 Thread Aarthi Ilangovan
Hi Anthony, I used the above query and it is working. I have figured out the problem with other 2 accounts. Thanks ! On Thursday, July 21, 2022 at 6:23:17 PM UTC+2 adsapi wrote: > Hi Aarthi, > > Thank you for that information. > > With regards to accounts - 5867235702

Cannot Create Campaigns Due to Budget Limit

2022-07-26 Thread Imran Mahmood
Hello, I am working on my company's Google Ads account and using the API to create new campaigns for our account but whenever I attempt to do that I get the following error: "ENABLED_IMPLICITLY_SHARED_BUDGETS_PER_CUSTOMER". I looked into it and from my understanding it suggests that we have

Re: How to pin headlines in responsive search ads using google ads API ?

2022-07-26 Thread Hoshank Ailani
Once we do set it can we verify if we can fetch the pin positions through API itself. I was unable to find how to find pinning positions through APIs. Thanks Hoshank On Thursday, 2 June 2022 at 22:29:10 UTC+5:30 adsapi wrote: > Hi Vasyl, > > Thanks for reaching out to the Google Ads API Forum.

Cannot Remove App Campaign from SharedSet

2022-07-26 Thread sealytic...@gmail.com
Hello, I don't know how api allowed but one of our shared sets are attached to an App campaign. Now I am trying to remove it but api and Google Ads UI both giving error about "NEGATIVE_KEYWORD shared set type cannot be applied to channel type MULTIPLE" It is not related with my api call

Re: Extension feed reporting

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Noémi, I work with Jinky. To get of the the 'All(upgraded)' screen you can use these 3 resources together: campaign_asset ad_group_asset customer_asset The ad_group_ad_asset_view resource will provide all asset based extensions metrics at ad level for each extension and won't show

RE: Ad preview before publishing

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Dany, Thank you for reaching out to our API support team. Our team and this channel specializes in Google Ads API related concerns only and would not be able to comment on the capabilities of iframe. From our end, however, an ad preview feature is currently not supported. A feature request

Re: Digest for adwords-api@googlegroups.com - 21 updates in 9 topics

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rungrot, Thank you for reaching out to our API support team. It appears that you are interested in this thread. Do you have any follow-up questions to Aryeh's response? Best, Anthony Cyril Google Ads API Team ref:_00D1U1174p._5004Q2bm7gu:ref -- --

Re: Extension feed reporting

2022-07-26 Thread Noémi Molnár
Hi Jinky, Our team is also looking into showing the upgraded ad extensions, along with related data. Thank you for the information you shared it is very useful, but I have a few more things that I would like to clarify. I would like to ask if any of resource types (either listed or not)

Re: Digest for adwords-api@googlegroups.com - 1 update in 1 topic

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rungrot, Thank you for reaching out to our API support team. It seems that you're interested in this topic. Could you please confirm if you have an issue with MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENT? If yes, could you please provide the complete request and response logs, with the

Ad preview before publishing

2022-07-26 Thread Dany Kamel
Hey there, is there a way/API/Iframe I could use to preview the ad before publishing, we developed the creation already but we need to preview it before publishing. Any help? or I shall try to clone the styles you are using and develop it on my own? -- --

Re: Error request for Google Ads report API

2022-07-26 Thread Xin Chen
Dear Yasar, Thanks! The developer token was wrong. Best wishes! 在2022年7月26日星期二 UTC+8 18:42:00 写道: > Hi, > > Thanks for reaching out to the Google Ads API Forum. > > Upon checking logs, I can see that you’ve encountered AUTHENTICATION_ERROR > error, however, could you please double check if

Re: How to remove BatchJobOperation

2022-07-26 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thanks for updating us on the issue. We are glad to know that you are able to list batch jobs and delete pending batch jobs. Should you have any other clarifications with the APIs, feel free to open new post, and we'll be happy to assist you. Regards, Yasar Google Ads API Team

Re: Digest for adwords-api@googlegroups.com - 1 update in 1 topic

2022-07-26 Thread Rungrot Oranon
Thanks you bro top [[Rungrot_Saibutdee]] ในวันที่ จ. 25 ก.ค. 2022 17:58 น. เขียนว่า: > adwords-api@googlegroups.com > > Google > Groups >

Re: How to remove BatchJobOperation

2022-07-26 Thread 粟野恭平
Hello, thank you for your advice. Following the manual above, I was able to list batch jobs and delete pending batch jobs. 2022年7月26日火曜日 15:55:35 UTC+9 adsapi: > Hi, > > Thank you for posting your concern. Allow me to provide support. > > I am afraid that it is not the correct way to get the

Re: Digest for adwords-api@googlegroups.com - 21 updates in 9 topics

2022-07-26 Thread Rungrot Oranon
Thanks you bro top [[Rungrot_Saibutdee]] ในวันที่ ส. 23 ก.ค. 2022 17:58 น. เขียนว่า: > adwords-api@googlegroups.com > > Google > Groups >

Error request for Google Ads report API

2022-07-26 Thread Xin Chen
I tried to query campaign report data through ads http api but got an error. My request is *POST /v11/customers/{my-customer-id}/googleAds:searchStream HTTP/1.1 * *Host: googleads.googleapis.com * *Developer-token: {my-developer-token} * *Content-length: 282 * *Content-type: application/json *

Re: Login-customer-id as Manager Id but get User doesn't have permission to access customer

2022-07-26 Thread Nhat Ho
Dear Adsapi, Currently, I am migrate from Adwords to Google Ads API. Everything work fine before, my account have access to Google Ads Manager account. But I don't have permission to view Oauth2 credentials(company policy). So my guess the problem is the old credentials don't have access to my