Adwords API sends me wrong Data for Campaign ID
Hello Support, I have been calling the SHOPPING PERFORMANCE REPORT from the Adwords API for a while. All the Data I was obtaining was correct until today. I have noticed that the API is sending me wrong Data for my Campaign ID. I can see that because the Campaign ID in my Google Adwords Account do not match the Campaign ID in the data I get from the API. Any idea what to do here ? Sincerely -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c5d2ecb1-941c-4969-a025-c989fa785ef7n%40googlegroups.com.
Re: AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID
Hi Nikita, Problem solved ! I haven't use the yaml file for extracting needed infos. Instead I did this: from googleads import adwords from googleads import oauth2 # OAuth2 credential information. In a real application, you'd probably be # pulling these values from a credential storage. CLIENT_ID = CLIENT_ID CLIENT_SECRET = CLIENT_SECRET REFRESH_TOKEN = REFRESH_TOKEN # AdWords API information. DEVELOPER_TOKEN = DEVELOPER_TOKEN USER_AGENT = USER_AGENT CLIENT_CUSTOMER_ID = CLIENT_CUSTOMER_ID def main(client): report_downloader = client.GetReportDownloader(version='v201809') report = { 'reportName': 'Last 7 days CRITERIA_PERFORMANCE_REPORT', 'dateRangeType': 'LAST_7_DAYS', 'reportType': 'CRITERIA_PERFORMANCE_REPORT', 'downloadFormat': 'CSV', 'selector': { 'fields': ['CampaignId', 'AdGroupId', 'Id', 'CriteriaType', 'Criteria', 'FinalUrls', 'Impressions', 'Clicks', 'Cost'] } } # You can provide a file object to write the output to. For this demonstration # we use sys.stdout to write the report to the screen. report_downloader.DownloadReport( report, sys.stdout, skip_report_header=False, skip_column_header=False , skip_report_summary=False, include_zero_impressions=False) if __name__ == '__main__': oauth2_client = oauth2.GoogleRefreshTokenClient( CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN) adwords_client = adwords.AdWordsClient( DEVELOPER_TOKEN, oauth2_client, USER_AGENT, client_customer_id=CLIENT_CUSTOMER_ID) main(adwords_client) Sincerely -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/279f8bcc-24a3-42a5-8b82-338b49dd24e2%40googlegroups.com.
Re: AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID
Hi Nikisha, I've tried all the above hints and unfortunately it's still not working. Yet there is some point that might cause a problem. I have created the project with my email, but got permission to the Adwords Account from the Admin. The Admin does not got permissions for the project in Google Developer Console (but the Google Analytics API works, though it's in the same project as Google Adwords). Beside that, I have tried to execute just the following command in python console: adwords.AdWordsClient.LoadFromStorage("C:\\Users\\...\\Desktop\\...\\googleads.yaml") and obtained an answer that there is an issue in the 'path_to_private_key_file' (please see the attachement). Might there be the issue ? Sincerely. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/f3a941d7-1d2a-469d-b6cb-68e3e33951ff%40googlegroups.com.
Re: AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID
Hi Nikisha, Thanks for the reply. I am not sure into which header should I paste the access token. Can you be more specific on that point ? Beside that, in the attachements you can see how my yaml document looks like. The developer token, client id, client secret and refresh token is correct. The "path_to_private_key_file" is the path to the txt file where my json is (the json with my API credentials, downloaded from the project in Google APIs). Is there anything missing in my yaml file ? Sincerely. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e2864d2c-dfcd-44e4-b8ca-d8568336ea82%40googlegroups.com.
AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID
Hi Google Support, I have noticed that there are similar errors already posted in the group. I've tried to implement the hints mentioned there, but still they couldn't fix this issue. I was working on obtaining the reports via the Google Adwords API and run into the following error: *AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID* *Trigger: * *Field Path: None* I have checked is the acces_token valid with the following command: curl https://www.googleapis.com/oauth2/v4/token -d refresh_token=.. -d client_id=... -d client_secret=... -d grant_type=refresh_token and the acces_token was valid. Beside that I tried with generating different refresh_tokens and still got the same error. Any ideas how I can fix it ? Sincerely. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/8a2ece8b-fb38-4b41-9b0c-8d179fad1bc7%40googlegroups.com.
(GugukluhayaT) pınar aylin 70 hıtsss fullll albüm
indirme linki http://hotfile.com/dl/141445643/ab6a605/Pnr.Ayln.2011.rar.html -- You received this message because you are subscribed to the Google Groups Gugukluhayat group. To post to this group, send email to gugukluhayat@googlegroups.com. To unsubscribe from this group, send email to gugukluhayat+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gugukluhayat?hl=en.
(GugukluhayaT) +18 PREMUIM ACCOUNT 13 OCAK 2012 GÜNCEL DENENMİŞTİR İSTEDİNİZ KOYDUK.
+18 PREMUIM ACCOUNT 13 OCAK 2012 !!! İNDİRME LİNKİ !!! http://hotfile.com/dl/141479594/7f436e0/18_PREMUIM_ACCOUNT_ONLARCASI_STEDNZ_KOYDUK.rar.html -- You received this message because you are subscribed to the Google Groups Gugukluhayat group. To post to this group, send email to gugukluhayat@googlegroups.com. To unsubscribe from this group, send email to gugukluhayat+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/gugukluhayat?hl=en.