Re: Best tutorials on AdWords API?

2017-03-15 Thread 'Peter Oliquino' via AdWords API Forum
Hi, I'm from the AdWords API team and my best recommendation would be the guides in our Google Developer's site . The guides provide step by step details from signing up

Best tutorials on AdWords API?

2017-03-15 Thread vy . nguyen
I would like to implement AdWords API to automate my tasks. Does anybody know a good resource for learning how to implement this from scratch (other than the Google Developers site)? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsd

Re: How to link AdWords to a specific GMB Business account

2017-03-15 Thread 'Ivan Bautista' via AdWords API Forum
Hi Kevin, As per documentation , you can get the account ID from the account_id portion of the name of the Account

Re: Creating an AdWords account for user when NOT_ADS_USER is thrown?

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, If an email address is not already associated with an AdWords account, you'll not be able to create an account using its OAuth2 credentials. If this email address is associated with a Manager account, you'll be able to create new accounts and link to other accounts using ManagedCustomerSer

Re: How do I get all ad groups with their extensions using campaign id?

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Yes, you need to retrieve the AdGroupId in a previous request and use these Ids in a predicate in the AdGroupExtensionSettingService selector . If your extensions have non-zero impress

Re: Advanced remarketing rules through API

2017-03-15 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Jonathan, Thanks for bearing with me while I looked into these issues. Here's what I've found: *1. Support for top level AND of OR groups* This is a new "advanced" feature in the user interface, and I confirmed that it is not yet supported in the AdWords API. If this becomes available in th

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
The purpose of the script is to read from a table that is updated on a weekly/monthly bases and create groupings of hashed Emails based on unique Clientid/Campaigns then upload the Grouped emails to the clientID then assign it to the proper campaignIds. Im somewhat new to java so please forgive

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
Here is the full code the purpose of it is to read from a database and upload groups of hashed emails based on Clientid/Campaign and then assign them to clientid then campaignid. -- package adwords_crm; import com.google.api.ads.adwords.axis.factory.AdWordsServices; import com.google.api.ads.

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
Here is the full code the purpose of it is to read from a database and upload groups of hashed emails based on Clientid/Campaign and then assign them to clientid then campaignid. package adwords_crm; import com.google.api.ads.adwords.axis.factory.AdWordsServices; import com.google.api.ads.adwo

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
Here is the whole java code - Purpose of it is to read from a database and assign the a array of Users to the appropriate Client ID then assign it to the proper campaignid. package adwords_crm; import com.google.api.ads.adwords.axis.factory.AdWordsServices; import com.google.api.ads.adwords.ax

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Could you provide the version of the client library and API you are using? Also, UserListOperation is applicable for AdwordsUserListService, not CampaignCriterionService. Could you send over the complete code so I can take a look? Thanks, Shwetha, AdWords API Team. -- -- =~=~=~=~=~=~=~

Creating an AdWords account for user when NOT_ADS_USER is thrown?

2017-03-15 Thread Jon Perry
Hello, I'm not sure if this is possible but I'm having trouble working out how to make a user an "ads user" when the NOT_ADS_USER exception is thrown. We'd like to be able to create an AdWords account for users that don't have one using their refresh token. I can create a new account as the MC

Re: Very closely related keyword suggestions via search volume request

2017-03-15 Thread misha via AdWords API Forum
Hi Sreelakshmi Note that my screenshot above is not from the keyword suggestion portion of the Keyword Planner. This is actually from the "traffic estimator" portion of the UI. However instead of giving me a traffic estimate for the keyword that I submitted, the UI is returning a slightly diffe

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
Here is my code ( i just barely modified it) - //Campaign operation CampaignCriterionServiceInterface campaignCriterionService = adWordsServices.get(session, CampaignCriterionServiceInterface. class); long campId = Long.parseLong(campaignId); CriterionUserL

How do I get all ad groups with their extensions using campaign id?

2017-03-15 Thread JC Lee
I want to achieve something similar to AdWords UI's* Campaign -> Ad extensions -> Callout extensions -> Ad group extensions *where a table of ad groups and their extensions are displayed. Therefore, I need to get all the ad groups with extensions in an API call. What's the most efficient way to

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Please use the code snippet provided below to add a UserList to a campaign. CriterionUserList userList = new CriterionUserList(); userList.setUserListId(userListId); CampaignCriterion criterion = new CampaignCriterion(); criterion.setCampaignId(campaignId); criterion.setCriterion(userList);

Re: Invalid access tokens

2017-03-15 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi, In general, you may see OAUTH_TOKEN_INVALID error if the access token in your request header is not valid. Access tokens have a limited time validity and they expire in 1 hour (3600 secon

Re: Adding a list of Audience to some Campaign/AdGroups

2017-03-15 Thread Kuppa . Janakiram
Do you have an example like you posted above for adding a userlist to campaign instead of Adgroup? Going through the Java API is very confusing. On Monday, January 30, 2017 at 7:34:55 AM UTC-8, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > Yes, it is possible to remove an audience criter

Re: Create VideoDiscoveryAd with long YouTube Video name, withHeadline does not work.

2017-03-15 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Andrey, On this forum, we support queries related to AdWords API. Since your question is related to the AdWords Scripts, could you please post your question on the AdWords Scripts Forum ? Thanks, S

Re: Get MCC Client ID Programmatically

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Sid, To retrieve the CustomerId you need to use the CustomerService.getCustomers() method without setting the clientCustomerId

Re: Change History through API

2017-03-15 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Kieran, You could check the CustomerSyncService and see if that will return what you are looking for. This is the closest service available in the API to change history in AdWords UI. You will be able t

Re: Very closely related keyword suggestions via search volume request

2017-03-15 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Misha, TargetingIdeaService and TrafficEstimatorService are the two services that provide similar functionality via the API as t

Re: Not getting the ImpressionReach

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, The report type being requested in your query is Criteria Performance Report which doesn't contain the ImpressionReach field, so you'll encounter the INVALID_FIELD_NAME_FOR_REPORT when you includ

Re: Ad Id of removed ads

2017-03-15 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Eshwar, Please refer to this document for valid set of values for an ad status. Could you please try filtering on the ad group using these values for ad status and check if you are still fac

Create VideoDiscoveryAd with long YouTube Video name, withHeadline does not work.

2017-03-15 Thread Andrey Nazimov
When i try to create a new VideoDiscoveryAd with long YouTube video title and using short Headline withHeadline("short title") , i get error that the Title is too long. It means that the method withHeadline does not replace YouTube video title before validation. How to solve this problem? My

Re: How to link AdWords to a specific GMB Business account

2017-03-15 Thread Kevin
Hi Ivan, Where can I find the GMB Account ID? Is it the name field of the account object in GMB API (https://developers.google.com/my-business/reference/rest/v3/accounts#Account)? Thanks! On Wednesday, March 15, 2017 at 1:54:33 AM UTC-7, Ivan Bautista wrote: > > Hi Kevin, > > If you want to sp

Re: How get CustomerId of Manager with OAuth 2.0

2017-03-15 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, Could you enable logging and send over the logs generated for this API request? Could you also check if you have set the developerToken, Authorization and userAgent headers in your requests? Please use

Get MCC Client ID Programmatically

2017-03-15 Thread Siddharth Khurana
Hi, I am new to Adwords api so excuse my lack of knowledge. Just wanted to check if there is any way to programmatically pull the MCC client ID without physically adding it in the session builder code? Thanks, Sid -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blo

Change History through API

2017-03-15 Thread Kieran Hewitson
Hi, I understand there isn't currently a way to get adwords change history through the API. I was wondering if there are plans to make this a possibility? Our team find it near impossible to use current functionality within the web interface for anything useful. We would really like to be capa

Invalid access tokens

2017-03-15 Thread Bo Andersen
Hello, I am trying to debug why my access tokens are invalid. When using them with the API, I get the following error: AuthenticationError.OAUTH_TOKEN_INVALID I did some research, but I couldn't find a reason why that would be the case (I don't think the common issues are applicable in this cas

Very closely related keyword suggestions via search volume request

2017-03-15 Thread misha via AdWords API Forum
Hello - When using the AdWords Keyword Planner UI to grab search volume for keywords, I notice that sometimes Google returns volume back but not for the keyword that I requested. It seems to 'suggest' a better keyword. In other words, it's a very closely related keyword suggestion. I am lookin

Re: How to link AdWords to a specific GMB Business account

2017-03-15 Thread 'Ivan Bautista' via AdWords API Forum
Hi Kevin, If you want to specify a particular GMB account you want to sync location extensions from, you can try to specify the GMB Account ID in the businessAccountIdentifier attribute w