How are API calls counted?

2019-05-13 Thread Costantin
If I want to create 100 ad groups, something like this: # Create ad group. all_adgroups = [] for x in range(200): ad_group_operation = client.get_type('AdGroupOperation', version=google_ads_version) ad_group = ad_group_operation.create ad_group.name.value = 'Earth to Mars cruises %s' %

Re: Change service not working properly for Ad_Group_Ads

2019-05-13 Thread F B
Actually it seems that the Problem is related to the ADDED. It would appear that: - The change_status.resource_status relates to the object highest in the hierarchy (i.e. cmapaign?) - Adding Ads and Keywords is considered to be a Change and not an Add On Monday, 13 May 2019 12:39:27

Getting undefined search volume for a well known keyword

2019-05-13 Thread Matic Jurglic
We're using Adwords API to fetch keywords' search volume (global and US) and we've been observing some oddity in the data. For example, for a keyword *electro* we are getting null data from TargetingIdeaService. This is obviously pretty odd since it's such a widespread term. We have checked

Re: getting a lot of authentication errors

2019-05-13 Thread cv
Any update here? Seems like error handling also not escaping those errors. Please help!! to get running getCustomer service. Thanks, On Saturday, 11 May 2019 10:48:09 UTC+5:30, cv wrote: > > Hello Mike, > > I have account access under my MCC but still getting this UNAUTHENTICATED > error. >

Re: All reports have no data but UI shows data

2019-05-13 Thread Erik Lilja
Hello, (sorry if this was a double post) I ran the query again and did not receive any data. Here's the curl request with censored access token and developer token. curl -X 'POST' -H 'Accept: */*' -H 'Accept-Encoding: gzip, deflate' -H 'Authorization: Bearer ***' -H 'Connection:

RE: Change Status Service - Google Ads API

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Chirag, You will be able to use the Feed attribute available here to pull the Feed specific changes. Could you please give this a try? Thanks,

Change service not working properly for Ad_Group_Ads

2019-05-13 Thread F B
change_service = f""" SELECT change_status.resource_status, change_status.resource_name, change_status.last_change_date_time, change_status.resource_type, change_status.campaign, change_status.ad_group, change_status.ad_group_ad,

Filtering by several fields with OR operator

2019-05-13 Thread Dmitry Shvetsov
Hi! Is it possible to filter by several fields with OR operator in AdwordsApi? How to do it? For example, I'm trying to get all ads witch contains text "Sale for 15 of May" in "ExpandedTextAdDescription2" OR in "Description" OR in "ExpandedTextAdHeadlinePart3" OR in

Re: Google Ads API: MutateJobService Code Examples

2019-05-13 Thread Wesley Bowman
Is there any sort of estimation on when this feature will be released? When I went to the workshop, we asked about this feature then (March 26), and we were told it would potentially be released in 2-3 weeks. It's now been a quite a bit longer than that, and this is the feature we need to

Change Status Service - Google Ads API

2019-05-13 Thread cv
Hi, How I can relate legacy Google Adwords API customerSyncService with this Change Status Service - Google Ads API? I am not able to find FeedChangeData to Change Status Service

RE: Getting undefined search volume for a well known keyword

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Matic, Since the keywords ideas are not available via Keyword Planner the TargetingIdeaService also not resulting any keywords. I recommend you to post your concern on the Advertisers community forum , the product

RE: Change service not working properly for Ad_Group_Ads

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Fabian, The results will be filtered based on the resource_status and the resource_type. The results returned will depend on the resource_type. For example, for AD_GROUP, campaign and ad_group fields will be set. Let me know if you have any questions. Regards, Bharani, Google Ads API Team

RE: Add an OfferID to an existing partition

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, I am Ejay's colleague responding on this thread as he is not available. Below is the response from Ejay. *"With regard to your question on how to product partition, you may refer to the AddProductPartitionTree

Re: Change service not working properly for Ad_Group_Ads

2019-05-13 Thread F B
Hi Bharani, yes I understand that. But even in a test account where I explicitly *created (i.e. added)* a whole lot of ad_group_ads (respectively ad_group_criterion). The query: SELECT change_status.resource_status, change_status.resource_name, change_status.resource_type,

Re: GEO_PERFORMANCE_REPORT doesn't return anything

2019-05-13 Thread Matheus Ogliari
Hello Adwords API Team! > > Is there any update on GEO_PERFORMANCE_REPORT ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are

CUSTOMER_NOT_WHITELISTED_FOR_API Error

2019-05-13 Thread Brian Liao
Hi, I am receiving this error from calling the Google Ads MCC for the OfflineDatauploadServices. faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: [NotWhitelistedError.CUSTOMER_NOT_WHITELISTED_FOR_API @ ] Is there anything I can do to whitelist?

OperatorError when trying to delete a draft

2019-05-13 Thread Sreeram Jagannathan
Hello, I am getting an OPERATOR_NOT_SUPPORTED error when trying to delete a draft from API (see the screenshot). *draft = draft_service.get(selector)['entries']* *draft_operation = {'operator': 'REMOVE', 'operand': draft}* *draft_delete = draft_service.mutate(draft_operation)['value'][0]* I

Issue passing an array to SelectorBuilder .in() method

2019-05-13 Thread Matt Jacobson
Hello, I am trying to create a Selector like so: String[] adGroupIds = {"123", "234"}; SelectorBuilder builder = new SelectorBuilder(); Selector selector = builder .fields(AdGroupField.values()) .in(AdGroupField.Id, adGroupIds) .offset(offset) .limit(pageSize)

[AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']

2019-05-13 Thread Muteeb Ahmed Kamboh
I am Facing this Error Can Any One Help Me Why This error Occur On API response how i can Grant The Access to Send the Invitation to customer account through API? [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:''] $managerCustomerID = 3435423432; $oAuth2Credential = (new

Empty response on reports beyond campaign level

2019-05-13 Thread Noussair Mrabet
Hello, I am querying the API in python; both the AdWords and the new Google ads APIs had the same behaviour: I can get data when I query at the account level or campaign level but reports such as Criteria Performance or Ad Performance send an empty table as a response. Performance data is

RE: Is it possible to match an Ads conversion with the Analytics Goal Event Action and Label?

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Scott, It is not possible to match the conversions with Analytics Goals. Regards, Sai Teja, Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: https://ads-developers.googleblog.com/search/label/google_ads_api

RE: All reports have no data but UI shows data

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Erik, I took a look at the account: 5334532570 and found that the account has only 2 UAC campaign in it. Since UAC campaigns won't support CampaignPerformanceReport you are seeing zero values. You could only get the reports specified here

RE: How are API calls counted?

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, It should be counted as 1 API call and 200 operations. You could refer here to know more about counting the API operations. Regards, Sai Teja, Google Ads API Team

RE: Renaming of a CrmBasedUserList, and effect of SimilarUserList

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Priyanka, Yes, the list can be renamed. No, I don't believe the auto-created list will change. I've never seen it change as a result of a rename. I find it best to rely on the ID of the list because that stays constant. Best, Nadine Sundquist, Google Ads API Team

RE: Search volume from auto corrected keyword without information

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, Could you please confirm whether you are using the production account to fetch this data? Also, could you please share the screenshot of the UI where the changed keyword is shown in the result? When I try on the production account the keyword did not changed for me. Please use reply

RE: I am trying get campaign targeting location

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Chirag, Could you please share the request and response logs without redacting any information to check this further? You can reply back via Reply privately to author option. Regards, Bharani, Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog

Need to get avg. "avg Impressions","avg Clicks" ,"avg CTR" Estimating Traffic

2019-05-13 Thread neetu varshney
Hello Team As I am using estimate traffic api for google adword for keywords - Currently I am getting - Average CPC - Average Position - Click Through Rate - Clicks Per Day - Impressions Per Day - Total Cost As i am getting Avg CPC, Avg Position like i want to get Avg Clicks,

RE: Create Multiple Campaign From MYSQL Query

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, You will be able to create campaigns using the CampaignService.mutate() operation. You will need to implement a logic on your end to have the created campaign inserted as a new row in the MYSQL

RE: getting a lot of authentication errors

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello, This issue is because you are trying to act on a disabled account. If you are getting this type of error in any other context, please create a new forum post so that someone can help you as quickly as possible, and make sure you include all relevant details of what you've tried and

Re: Renaming of a CrmBasedUserList, and effect of SimilarUserList

2019-05-13 Thread Priyanka Mazagaonkar
Any updates on this? Would greatly appreciate a response for this as it affects a time-sensitive customer integration at our end. On Friday, May 10, 2019 at 12:35:00 PM UTC-7, Priyanka Mazagaonkar wrote: > > Hello AdWords API team, > > Can a CrmBasedUserList be renamed? In my example above,

RE: [5-6040000026070] developer-token parameter is missing even though I'm passing the token in Google Ads API

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Anirudh, That error means that the developer token and the client-id/client-secret from your Google Could project can't be used in the same request. For a given Google Cloud project ID, the Google Ads API only allows you to use one developer token. When you receive the above error it

RE: Ads API: New Customer auto_tagging_enabled IMMUTABLE_FIELD, no validateOnly option also?

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Joel, The error indicates that you cannot set the auto-tagging while creating the account. You will first need to create an account and then perform the mutate operation to set the auto-tagging. Please find the code snippet below as a reference: CustomerServiceClient

RE: migrate from responsiveDisplayAd to multiAssetResponsiveDisplayAd

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello TuyenVu, That's right. If you use the AdWords API, modify your code to use MultiAssetResponsiveDisplayAd wherever you currently use ResponsiveDisplayAd

RE: API V201809 Adgroup_perfomance_report : Daily task not returning the same number of Adgroup

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Alex, Could you please share the specific dates where you're seeing the difference in the ad group counts along with the customer Id to check this further? You can share the details privately via Reply privately to author option. Regards, Bharani, Google Ads API Team

RE: Maximize CPV

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Anthony, If you're looking to set the Bidding strategy for video campaigns, please note that Video campaigns are not yet supported through the API services. They are available only through reports. You will be able to use the API reports to pull these metrics

RE: Filtering by several fields with OR operator

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Dmitry, Thanks for reaching out. Unfortunately, the OR clause is not supported in the AWQL. You can only use the AND clause for conditional statements. You may refer to this guide for further details. Regards,

Re: How to move account with Google Ads API

2019-05-13 Thread Jason f
Hi Dave, That makes sense. I understand once we get the ManagerLink of them then we can use either methods to mark the existing link as INACTIVE. The only question is how can we get the ManagerLink between the client account and root MCC, since they are linked together while creating the

RE: Replicating the AdWords API CRITERIA_PERFORMANCE_REPORT Using the Ads API

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi John, Sorry for the delayed response. You may refer to this migration guide to see the equivalent reports of the AdWords API to the Google Ads API. Take note that not all criteria types are supported

RE: Clone Campaign Settings

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi, I am a colleague of Dave. Allow me to provide further assistance for your concern. Can you confirm my understanding is correct? Based from the thread, I can see that you wish to clone your campaigns. However, Dave has already mentioned that this is not directly possible in the API. You

RE: Error occurred at MediaFileOperation create

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hello Venkat, Looks like the Image field is not set to the MediaFile. Could you please follow the code pattern shown here in Java to

RE: OperatorError when trying to delete a draft

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Sreeram, You can set the DraftStatus to ARCHIVED instead, by using the DraftService.mutate() method

RE: Bug in Ads API? UNAUTHENTICATED Exception started popping up when making call to Google Ads CustomerServiceClient.GetCustomer

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Darshan, Kindly use the *reply privately to author* option when providing the clientCustomerIds. Regards, Dannison Google Ads API Team =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group:

RE: Bug in Ads API? UNAUTHENTICATED Exception started popping up when making call to Google Ads CustomerServiceClient.GetCustomer

2019-05-13 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
Hi Darshan, I am a colleague of Dave, allow me to provide support for your concern. I can see that the account you are trying to access (3011223529) is a draft account (this means that account set up is not finished). That said, kindly finish setting up this account so you could continue making