Python How to set up campaign bid adjustment

2022-03-09 Thread Kieran Eddy
#bid modifier # campaign_operation=client.get_type( # "CampaignOperation" # ) # campaign_criterion= campaign_criterion_operation_bid.create # campaign_criterion_operation_bid=client.get_type( # "CampaignCriterionOperation" # ) # campaign_criterion= campaign_criterion_operation_bid.create #

RE: all_conversion_value returns zero in Google Ads API, but works in Google Adwords API

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for posting your concern to our team. To investigate the issue, could you provide the complete request and response logs with request ID and request header generated on your end where we can see the error? You can provide it via Reply privately to author option. If this option

RE: Extra Adword scopes in OAuth Consent screen?

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi everyone, @Vanessa, it appears that our colleague has responded on a separate thread (grantOfflineAccess Necessary Scopes) that you opened. The post was deleted but our team was still able to respond. For further clarifications and better tracking, we can continue discussions on that thread

Re: Is there an API to get web-site category/vertical?

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi, Thank you for the additional information. You may try and use the topic_constant report or, the user_interest report as it specializes in : A user interest: a particular interest-based vertical to be targeted. Let us know if this is what you're looking for. Best regards, Peter Laurence

How to set up campaign bid adjustment

2022-03-09 Thread Kieran Eddy
I want to set the bid adjustment of campaign to computer-100% and tablets-100%. How to set it? Thank you very much for helping me -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/

all_conversion_value returns zero in Google Ads API, but works in Google Adwords API

2022-03-09 Thread Ершов Александр
Hello! This code works correctly in the Google Adwords API $query = (new ReportQueryBuilder()) ->select([ 'AllConversionValue', 'Cost', 'Device' ]) ->from(ReportDefinitionReportType::ACCOUNT_PERFORMANCE_REPORT) ->duringDateRange(ReportDefinitionDateRangeType::TODAY) ->build(); but the new

RE: *** AttributeError: 'NoneType' object has no attribute 'Call'

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Corine, Thank you for reaching out to us. Could you confirm whether the client library was configured as per this guide ? And is this the example code you are using or referring to? If you haven't yet, you may also enable logging for us to see the possible cause of the issue and the

RE: AdsScript - PERFORMANCE_MAX campaigns

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Rafael, Thank you for reaching out to Google Ads API team. It seems that your concern is about Google Ads Scripts. With this, I would recommend posting your concern to the Google Ads Scripts Forum. The said forum is dedicated to Google Ads script related concerns so you can get helpful

Re: Target CPA with Goal Settings

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Matteo, Thank you for your reply. This section of the guide sent by Ernie provides the steps on how you can achieve this. When performing the steps, you can use the BathJobService since its mutate operation supports both the custom_conversion_goal_operation and

RE: grantOfflineAccess Necessary Scopes

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vanessa, Thank you for reaching out to us. To request offline access for a web app type, make sure you set the access_type parameter to offline. You can find additional information in Google's OAuth2 guide . For the desktop app type, offline access is enabled by default—you don't have to

Re: GeoPerformance Report Migration

2022-03-09 Thread jubap...@gmail.com
I also tried using user_location_view, user_location_view.country_critterion_id, then got a third version report. On Wednesday, March 9, 2022 at 9:54:57 AM UTC-8 jubap...@gmail.com wrote: > Hi, > I would like to have a geo performance report with a specific campaing ID > I used to use

Re: Google Ads API keyword performance report

2022-03-09 Thread jubap...@gmail.com
Hi, Carmela Thanks for the tips! Resource Mapping is really helpful! Now I know that 'ID' will be corresponding to 'ad_group_criterion.criterion_id'. However, I want to get ad_group_criterion.criterion_id and a couple of metrics in this report, and select from ad_group_criterion can not select

Re: Retrieve each campaigns geographic target

2022-03-09 Thread scratch27
Hi Jinky, Thank you for you help. How do I get the campaign name from the Geo Target Constant please? I can't get it in my query, could you write down the query please? Massive thanks! Le mercredi 9 mars 2022 à 16:32:04 UTC+1, adsapi a écrit : > Hi Scratch, > > Thank you for the replies. I

Google Ads API Image Ad Extension

2022-03-09 Thread Julius Decena
Good day, We are planning to implement Google Ads Image Extension in our system. We are using a sandbox account to test this functionality and we were getting an error that says it's not compatible with the campaign type. Is this error related to the fact that there are requirements for an ad

Issue with metrics.cost_per_all_conversions and search_term_view

2022-03-09 Thread tim ogilvie
Hi When querying search_term_view only 1 of 18 search terms is returing a cost with this query: """ SELECT search_term_view.search_term, segments.keyword.info.match_type, search_term_view.status, campaign.name, ad_group.name, metrics.clicks, metrics.impressions, metrics.ctr,

facing issues with GetReportDownloader while migrating to google adwords to ads api

2022-03-09 Thread 'srinivas satyavarapu' via Google Ads API and AdWords API Forum
Hi Team, Could someone help me in below code as i am not able find exact refrence eventhough i tried using different highlighted error syntax #from googleads import adwords from google.ads.googleads.client import GoogleAdsClient from google.ads.googleads.errors import GoogleAdsException from

Empty response with chosen fields

2022-03-09 Thread Rafeek Nasrallah
Hello, I am migrating from Adwords api to Ads api and im facing a problem with the field "segments.keyword.ad_group_criterion" from "ad_group_ad" I have an Adperformance report with multiple fields, once i run my code *without *the "segments.keyword.ad_group_criterion", it works and i get my

GeoPerformance Report Migration

2022-03-09 Thread jubap...@gmail.com
Hi, I would like to have a geo performance report with a specific campaing ID I used to use 'GEO_PERFORMANCE_REPORT' date range report. Fields I am using is below.: report_type_geo = 'GEO_PERFORMANCE_REPORT' fields_geo = ['CityCriteriaId', 'CountryCriteriaId', 'MetroCriteriaId',

discrepancies in keyword plan historical data in UI and API

2022-03-09 Thread Stan V
Hello, i see significant discrepancies between average monthly searches that i see in UI and the values i get from API (30-40%) for all keywords. Month and year are the same in API call and in UI. What could be the reason? My python script below, thanks for help! client =

AdsScript - PERFORMANCE_MAX campaigns

2022-03-09 Thread 'Rafael Setti' via Google Ads API and AdWords API Forum
Hello! I'm exporting a campaign report to Big Query tables. For that, I'm using google Ads v10 API. The script is working good. Therefore, *I'm having issues to get PERFORMANCE_MAX campaigns in my report* . I'm also generating the report with the AdsApp.search function. I'd like to know how can

*** AttributeError: 'NoneType' object has no attribute 'Call'

2022-03-09 Thread Corine Morin
We recently migrated to Google API V9, and we encounter this problem when trying to create a new account budget proposal: We use Python 3.8 service = self.google_client.get_service('AccountBudgetProposalService') service.mutate_account_budget_proposal(customer_id=,

RE: Not result with example getCampaign in google-ads-php

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Vladimir, Thanks for reaching out. Can you privately provide us with your complete request and response logs? Please ensure logging for the PHP client library is enabled (more info, here). Regards, Matt Google Ads API Team Matt Google Ads API Team ref:_00D1U1174p._5004Q2XmqGm:ref -- --

Re: Retrieve each campaigns geographic target

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Scratch, Thank you for the replies. I work with Darwin and allow me to provide support here. The geographic_view could not return the country ID in ISO format. The geographic_view.country_criterion_id will only return the criterion ID of specific geo based on this document. With this, if

grantOfflineAccess Necessary Scopes

2022-03-09 Thread Vanessa Maccherini
Hello, I am developing an app which has recently been approved. I want to add to my project the method grantOfflineAccess but I cannot figure out if I need additional scopes to include that. So, which permissions do I need to include?? All help is accepted. Kindly, Vanessa M. -- --

Re: Is there an API to get web-site category/vertical?

2022-03-09 Thread thes...@gmail.com
Hi, thanks. Google has a list of verticals https://developers.google.com/adwords/api/docs/appendix/verticals. We want to know using what API call can I get vertical for a specific website. For example, I want to request bbc.com and get a response that it is /News vertical(category). Using

Re: Extra Adword scopes in OAuth Consent screen?

2022-03-09 Thread Vanessa Maccherini
Hello, I am having. similar issue. Did you figure out which permissions it was including and why? Kindly, Vanessa M. Il giorno lunedì 25 gennaio 2021 alle 23:11:19 UTC+1 over...@gmail.com ha scritto: > Hello, I am using the gapi library and using the grantOfflineAccess() > method to get an

Batch job service roll back if errors

2022-03-09 Thread Patrick
Hi, Is there a way to validate a batch job or roll back a batch job if there are any errors when creating a campaign? So kind of like setting partial_failures to false but for the batch job? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog:

Re: Target CPA with Goal Settings

2022-03-09 Thread Matteo Medda
Hi Ernie, Thanks for the infos. We are looking at the documentation, but we are unsure at what point in the flow we can assign a custom conversion goal to a campaign. Do we need to set the custom goal after creating the campaign? We use batchJobs, is it possible to do everything in the creation

Re: Dynamically change client id in adsapi_php.ini file of Googleads php library

2022-03-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Hemant, Thank you for the reply. To answer your question, please note that the campaign has type and subtype and the equivalent fields of those information are provided below: campaign.advertising_channel_type ​​​ campaign.advertising_channel_sub_type With this, you can include those

Why am I not getting a list of all campaigns when using the google-ads-php getCampaigns example library?

2022-03-09 Thread Vladimir Hiuk
As a result of executing the code below, I do not receive any data. Although, for example, such an example as GetAccountHierarchy works for me. I am currently working on migrating a running project from adWords API to Ads API. Can it be not in the code, but in the account settings? My PHP

Not result with example getCampaign in google-ads-php

2022-03-09 Thread Vladimir Hiuk
I'm trying to get a list of all campaigns using the Google Ads API. To do this, I use an example from the google-ads-php library, but this code does not work for me. What's weird is that the foreach loop doesn't even run and I don't see the output of var_dump. Can anyone suggest me what I'm

Re: Retrieve each campaigns geographic target

2022-03-09 Thread scratch27
Hi Darwin, Thank you for you reply! I'm sorry I can't figure out how to get for each campaign the targeted country location. I select the campaign.name and the geographic_view.country_criterion_id from the geographic.view But when I echo the country criterion Id in php I have int(2250) but