Re: Customize error Handling

2018-04-16 Thread cv
Hello Vincent,

It is not making any difference while set the DEBUG or INFO under the .ini 
file for report download.

Can you please guide me I need to look at Error Catching here?

Thanks,



On Monday, 26 March 2018 15:18:49 UTC+5:30, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi,
>
> Could you try to change the log level to DEBUG and let me know if the 
> error is still not logged? The DEBUG log level means that you are logging 
> for success and failed requests. You can see more information here 
>  regarding 
> logging in PHP client library.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/980feac2-009c-4b6f-85d4-9c49f770576a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Developer token request for basic access was rejected by google adwords

2018-04-16 Thread Abdul Qadir
Greetings,

I would like to develop a keyword research tool using the TargetingIdeaService 
and TrafficEstimatorService. I managed to create such but when i requested 
Developer token for approval i was reject with the message below

" Dear API Applicant,

 

Thank you for submitting an application to the AdWords API. Unfortunately, 
the application you submitted was rejected due to the following:


*Tools that offer only keyword research are not allowed by the AdWords 
API Policy .  *Thus, 
we are not able to approve an API token for your stated use case. We 
recommend directing your clients to the Keyword Tool in the AdWords 
front-end for their keyword research needs. "

how i can get my developer token approved ?

any help regarding this would be great to us.

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3c48b41-589e-44bb-a26b-c0c45d76d8a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Two ways to get in-market category list: ConstantDataService.getUserInterestCriterion or the static file

2018-04-16 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
HI Jianbo,

You can either use your option 1 (via 
ConstantDataService.getUserInterestCriterion() 
)
 
or option 2 (via this table 
)
 
as both options should have the same data at the same time. However for the 
timing of the updates for this list, we do not have a specific timing for 
this. You are also correct that the list does not necessarily have the same 
timing on the release of an API version. What you need to do is just to 
regularly check the list via your option 1 or 2. 

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12b4d778-605c-47a2-85c5-fbab91cada96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Default value for Criterion

2018-04-16 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Gary,

Yes, you are correct. The other age ranges won't be targeted anymore and 
only that AgeRange being specified as your BiddableAdGroupCriterion will 
only be the one being targeted.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/69c5b0ea-2654-463c-9642-312bbd1e8af5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ad version history

2018-04-16 Thread 'Peter Oliquino' via AdWords API Forum
Hi Charles,

We currently have no information if and when such a feature can be added in 
the AdWords API. For now, you may follow our blog 
 for any 
updates or announcements.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ab4519c7-3fbb-4824-87ca-4b2fea2f47b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED - POST /api/adwords/ch/v201802/CustomerSyncService

2018-04-16 Thread Chris
Hi Luis - we are still encountering the error(s) on the majority of 
our clientCustomerId values, I can send you some examples of failures if 
you need them.

On Sunday, April 15, 2018 at 10:59:02 PM UTC-5, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi Chris,
>
> Thanks for providing the logs. We've received an information that the 
> issue I was referring to has now been resolved. Could you retry your 
> requests and check if you still encounter the error on your end?
>
> Regards,
> Luis
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b69288e2-bbcf-4b34-a192-8c427f783bf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Value for userInterestParentId field when adding audience

2018-04-16 Thread Gary Jiang
Hi,

I was trying to use AdWords API to add audience to some adgroups using 
CriterionUserInterest Criteria. While the root level audience group works 
properly, when I selected some level audience groups like /Banking & 
Finance/Avid Investors
, it didn't always work.

Here are some cases I encountered:

/Banking & Finance/Avid Investors, with Id of Banking & Finance as parent id
* Success*
/Food & Dining/Frequently Dines Out/Diners by Meal with id of Food & Dining 
as parent id *Failure*

/Food & Dining/Frequently Dines Out/Diners by Meal with id of Food & 
Dining/Frequently Dines Out/ as parent id *Failure*

/Food & Dining/Frequently Dines Out with id of Food & Dining as parent id 
*Failure*

Could you tell me the exact value that I should put there since I didn't 
find it in the documentation? Thanks. 

https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService.CriterionUserInterest

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fc9e0f67-d41d-4f55-9eaa-1ec0498e6c6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: redirect_uri_mismatch Application

2018-04-16 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, 

You will have to make sure that the redirect uri for the credentials of 
type *Web* is set correctly in the Google API Console Credentials page 
 and it matches the 
one set in your code 

 (please 
check the link for Java code sample). If it is not same, could you please 
update this and retry? If you are still facing issues, could you please 
create a new thread as this a very old thread? 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f4155c2a-c523-47b1-b72e-678fd5c3484a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: redirect_uri_mismatch Application

2018-04-16 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, 

Re-posting your question without the screenshot as it contained OAuth 
credentials. In the future, please make sure that sensitive information is 
not shared on the public forum. Please check this post 

 for 
the guidelines while posting on this forum. 

*"I have generated API token through google console. In that I have added a 
Reidrect URL. But when I am running command from generating refresh token 
for google adwords APi. I am getting redirect_url_mismatch error. Below I 
have attached screenshot of it."*

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4b89ae00-4ea7-4921-b98a-6ae976f0f1d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Steps to Create Dynamic Re-marketing Campaign and attach to feed

2018-04-16 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hi Dhruv, 

The Dynamic Re-marketing campaign needs to be created from the AdWords UI. 
Please refer to this guide 
 for 
more information on Re-marketing. Once the campaign is created, you may 
refer to this guide 
 which 
illustrates in detail about how to create a feed and how to associate this 
feed with a campaign. Code snippets in Java can be found here 
. 
You may refer to this code sample 

 in 
C#. 

Can you give this a try and let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6fb0b508-1353-4e5a-b8f4-02c007a66f59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to setting Dynamic Remarketing ad settings for Display campaign by adwords api?

2018-04-16 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hi Dhruv, 

I see that you opened a new forum thread 

 with 
a similar issue. Let's continue our discussion on that thread for better 
tracking.

Thanks,
Bharani, AdWords API Team

On Wednesday, April 4, 2018 at 6:46:18 AM UTC-4, jwlim@gmail.com wrote:
>
> How to setting Dynamic Remarketing ad settings for Display campaign by 
> adwords api?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7e189556-2723-436a-b18c-e8e5c9b147e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: throwing DetailedReportDownloadResponseException with 400 Response code.

2018-04-16 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Also, I forgot to ask: is that timestamp in CST?

Thanks,
Josh, AdWords API Team

On Monday, April 16, 2018 at 4:59:35 PM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Ron,
>
> I'm a little perplexed by the most recent example. I see it shows both:
>
> com.google.api.ads.adwords.lib.utils.ReportException: *502*: Bad Gateway
>
> and:
>
> Caused by: HTTP Response Code: *400*
>
> Was that a bad copy/paste, or are you actually seeing both 502 and 400 
> mentioned within the same error?
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, April 16, 2018 at 11:27:53 AM UTC-4, Ronald Findling wrote:
>>
>> After adding some more logging, another example that results in a 400 on 
>> our side:
>>
>>
>> 19:07:52 [WARN] c.g.a.a.a.lib.utils.report_download Request made: 
>> Service: reportdownload Method: POST clientCustomerId: XXX URL: 
>> https://adwords.google.com//api/adwords/reportdownload/v201710 Request 
>> ID: null ResponseTime(ms): null OperationsCount: null IsFault: true 
>> FaultMessage: com.google.api.ads.adwords.lib.utils.ReportException: 502: 
>> Bad Gateway
>> 2018-04-15 19:07:52 [INFO] c.g.a.a.a.lib.utils.report_download HTTP 
>> request:
>> accept-encoding: [gzip]
>> authorization: REDACTED
>> user-agent: [XXX (AwApi-Java, Common-Java/3.12.0, Java/1.8.0_121, maven, 
>> ReportDownloader)]
>> developertoken: REDACTED
>> clientcustomerid: XXX
>> includezeroimpressions: false
>>
>> Content:
>> __rdquery: SELECT Conversions,ConversionValue FROM 
>> SHOPPING_PERFORMANCE_REPORT WHERE CountryCriteriaId = 2250 DURING 
>> 20180316,20180415
>> __fmt: XML
>>
>> Caused by: HTTP Response Code: 400 at 
>> com.google.api.ads.adwords.lib.utils.v201710.DetailedReportDownloadResponseException$Builder.build(DetailedReportDownloadResponseException.java:35)
>>
>> Am Freitag, 30. März 2018 15:15:38 UTC+2 schrieb Josh Radcliff (AdWords 
>> API Team):
>>>
>>> Hi Ron,
>>>
>>> Sorry, I'm still having trouble locating those requests in our logs. 
>>> Would you mind sending over the customer ID where your developer token is 
>>> registered? You can send it only to me by clicking *Reply privately to 
>>> author*.
>>>
>>> Regarding the timeout theory, the ReportDownloader won't automatically 
>>> retry requests. However, if you think timeouts are the root cause here, you 
>>> can adjust the timeout for report downloads programmatically or in your 
>>> *ads.properties* file. Check out this section of the ads.properties file 
>>> 
>>>  for 
>>> details.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Wednesday, March 28, 2018 at 8:10:33 AM UTC-4, Ronald Findling wrote:

 Hi Josh,

 I checked the request data that I provided you and they are exactly 
 what I can see in my logs. Maybe I should mention that the provided time 
 is 
 the time at which the request failed not when it was sent to your servers 
 (that time is ~30-40 seconds before).

 Concerning the thread-safety recommendations I'm sure that the 
 ReportDownloader and its Session are not used in multiple threads in our 
 code.

 Further information: 
 Checking our errors I found an interesting pattern, failing requests 
 always take at least 30 seconds (usually 30-31) while successful ones are 
 most likely to be around 1 second.

 Maybe a stupid thought but could it be a something like the 
 java-library timing out after 30 seconds and retrying using the provided 
 session/ReportDownloader again which then violates the threadSafety and 
 results in invalid requests?

 Best Regards,
 Ron


 Am Dienstag, 27. März 2018 23:05:31 UTC+2 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi Ronald,
>
> I searched the logs on our side and could not find either of those 
> requests. Are you sure that they were submitted for the account ID you 
> mentioned?
>
> By the way, did you check if you're adhering to the thread safety 
> guidelines I mentioned earlier? I just want to make sure we can rule that 
> out as a possible cause of the errors.
>
> Thanks,
> Josh, AdWords API Team
>
> On Tuesday, March 27, 2018 at 9:53:11 AM UTC-4, Ronald Findling wrote:
>>
>> Hi Josh,
>>
>> thx for the hints.
>> Concerning the requested information I can give you 2 identical 
>> request where one succeeded and the other one failed with a 400 as shown 
>> in 
>> my last message.
>>
>> failed:
>> time: 27.03.18 01:06:08 CEST
>> googleAdwordsAccountId: 685-366-2732
>> SELECT Conversions,ConversionValue FROM SHOPPING_PERFORMANCE_REPORT 
>> WHERE CountryCriteriaId = 2826 DURING 20180225,20180327;
>>
>> succeeded:
>> time: 27.03.18 03:06:30 CEST
>> googleAdwordsAccountId: 685-366-2732
>> SELECT Conversions,ConversionValue FROM 

Re: throwing DetailedReportDownloadResponseException with 400 Response code.

2018-04-16 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Ron,

I'm a little perplexed by the most recent example. I see it shows both:

com.google.api.ads.adwords.lib.utils.ReportException: *502*: Bad Gateway

and:

Caused by: HTTP Response Code: *400*

Was that a bad copy/paste, or are you actually seeing both 502 and 400 
mentioned within the same error?

Thanks,
Josh, AdWords API Team

On Monday, April 16, 2018 at 11:27:53 AM UTC-4, Ronald Findling wrote:
>
> After adding some more logging, another example that results in a 400 on 
> our side:
>
>
> 19:07:52 [WARN] c.g.a.a.a.lib.utils.report_download Request made: Service: 
> reportdownload Method: POST clientCustomerId: XXX URL: 
> https://adwords.google.com//api/adwords/reportdownload/v201710 Request 
> ID: null ResponseTime(ms): null OperationsCount: null IsFault: true 
> FaultMessage: com.google.api.ads.adwords.lib.utils.ReportException: 502: 
> Bad Gateway
> 2018-04-15 19:07:52 [INFO] c.g.a.a.a.lib.utils.report_download HTTP 
> request:
> accept-encoding: [gzip]
> authorization: REDACTED
> user-agent: [XXX (AwApi-Java, Common-Java/3.12.0, Java/1.8.0_121, maven, 
> ReportDownloader)]
> developertoken: REDACTED
> clientcustomerid: XXX
> includezeroimpressions: false
>
> Content:
> __rdquery: SELECT Conversions,ConversionValue FROM 
> SHOPPING_PERFORMANCE_REPORT WHERE CountryCriteriaId = 2250 DURING 
> 20180316,20180415
> __fmt: XML
>
> Caused by: HTTP Response Code: 400 at 
> com.google.api.ads.adwords.lib.utils.v201710.DetailedReportDownloadResponseException$Builder.build(DetailedReportDownloadResponseException.java:35)
>
> Am Freitag, 30. März 2018 15:15:38 UTC+2 schrieb Josh Radcliff (AdWords 
> API Team):
>>
>> Hi Ron,
>>
>> Sorry, I'm still having trouble locating those requests in our logs. 
>> Would you mind sending over the customer ID where your developer token is 
>> registered? You can send it only to me by clicking *Reply privately to 
>> author*.
>>
>> Regarding the timeout theory, the ReportDownloader won't automatically 
>> retry requests. However, if you think timeouts are the root cause here, you 
>> can adjust the timeout for report downloads programmatically or in your 
>> *ads.properties* file. Check out this section of the ads.properties file 
>> 
>>  for 
>> details.
>>
>> Thanks,
>> Josh, AdWords API Team
>>
>> On Wednesday, March 28, 2018 at 8:10:33 AM UTC-4, Ronald Findling wrote:
>>>
>>> Hi Josh,
>>>
>>> I checked the request data that I provided you and they are exactly what 
>>> I can see in my logs. Maybe I should mention that the provided time is the 
>>> time at which the request failed not when it was sent to your servers (that 
>>> time is ~30-40 seconds before).
>>>
>>> Concerning the thread-safety recommendations I'm sure that the 
>>> ReportDownloader and its Session are not used in multiple threads in our 
>>> code.
>>>
>>> Further information: 
>>> Checking our errors I found an interesting pattern, failing requests 
>>> always take at least 30 seconds (usually 30-31) while successful ones are 
>>> most likely to be around 1 second.
>>>
>>> Maybe a stupid thought but could it be a something like the java-library 
>>> timing out after 30 seconds and retrying using the provided 
>>> session/ReportDownloader again which then violates the threadSafety and 
>>> results in invalid requests?
>>>
>>> Best Regards,
>>> Ron
>>>
>>>
>>> Am Dienstag, 27. März 2018 23:05:31 UTC+2 schrieb Josh Radcliff (AdWords 
>>> API Team):

 Hi Ronald,

 I searched the logs on our side and could not find either of those 
 requests. Are you sure that they were submitted for the account ID you 
 mentioned?

 By the way, did you check if you're adhering to the thread safety 
 guidelines I mentioned earlier? I just want to make sure we can rule that 
 out as a possible cause of the errors.

 Thanks,
 Josh, AdWords API Team

 On Tuesday, March 27, 2018 at 9:53:11 AM UTC-4, Ronald Findling wrote:
>
> Hi Josh,
>
> thx for the hints.
> Concerning the requested information I can give you 2 identical 
> request where one succeeded and the other one failed with a 400 as shown 
> in 
> my last message.
>
> failed:
> time: 27.03.18 01:06:08 CEST
> googleAdwordsAccountId: 685-366-2732
> SELECT Conversions,ConversionValue FROM SHOPPING_PERFORMANCE_REPORT 
> WHERE CountryCriteriaId = 2826 DURING 20180225,20180327;
>
> succeeded:
> time: 27.03.18 03:06:30 CEST
> googleAdwordsAccountId: 685-366-2732
> SELECT Conversions,ConversionValue FROM SHOPPING_PERFORMANCE_REPORT 
> WHERE CountryCriteriaId = 2826 DURING 20180225,20180327;
>
> Best Regards, Ron
>
> Am Dienstag, 20. März 2018 21:54:13 UTC+1 schrieb Josh Radcliff 
> (AdWords API Team):
>>
>> Hi Raneen,
>>
>> From our logs, it appears that your requests are most 

Re: Limit accounts of MCC?

2018-04-16 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Federico,

You can create a Sub MCC (under your current MCC), just for the small 
clients, then enable API for just this newly created Sub MCC. You can 
continue to use your existing developer token. Please let me know if you 
have further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7c865616-b0b2-41a6-87c8-2aa11a6742b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad version history

2018-04-16 Thread Charles Bannister
Hi, 

I notice the new version of AdWords is displaying the ad version history, 
even if they were overwritten. 

Are there any plans for this to be included in the API?

Thanks,

Charles

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61e7dbb5-a58e-44d4-b993-b3c28c36a53d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: redirect_uri_mismatch Application

2018-04-16 Thread khanjanadword1
Hi Anash,

I have generated API token through google console. In that I have added a 
Reidrect URL. But when I am running command from generating refresh token 
for google adwords APi. I am getting redirect_url_mismatch error. Below I 
have attached screenshot of it.




On Friday, March 27, 2015 at 1:31:08 AM UTC+5:30, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi Michael,
>
> I would recommend checking your OAuth2 console project once more - ensure 
> that it is of type "Installed application" as mentioned on 
> https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0#creating-an-application-identifier
> .
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Tuesday, March 24, 2015 at 1:38:04 PM UTC-4, Michael Barlow wrote:
>>
>> Hope someone can help.
>>
>> Im attempting to set up a test environment to interact with Google adword 
>> campaigns using php.
>>
>> I've downloaded the Google Ads APIs Client Library for PHP and entered my 
>> developerToken, userAgent, clientCustomerId, client_id and client_secret as 
>> per the instructions (https://github.com/googleads/googleads-php-lib)
>>
>> I've ran GetRefreshToken.php via php in console and visited the link it 
>> generated but it just says
>>
>> 400. That’s an error. Error: redirect_uri_mismatch Application: Google 
>> Statistics
>>
>> I researched the error and it said i needed to have the correct REDIRECT 
>> URIS in my Google Developer Console. I've tried lots of variations but 
>> nothing seems to work. It's currently set at:
>>
>> http://localhost:/
>>
>> I'm running the API on localhost using MAMP, what should the redirect URI 
>> be?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cacfbd6b-1306-418f-807e-627e2baaf05b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Account creation and billing informaiton

2018-04-16 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Robin,

Please note that once your campaign status changed to removed it wont 
reflect in CampaignService.get(). You will get removed campaign only if you 
add filter to status 

 filed 
as 'REMOVED'. Could you please share the complete SOAP request and response 
so that I can troubleshoot the issue? Also share the campaigns which you 
were facing the issue.

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2857c11e-114f-4400-9925-43c771bfa940%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Two ways to get in-market category list: ConstantDataService.getUserInterestCriterion or the static file

2018-04-16 Thread Jianbo zhu
Hi, AdWords Team,
We have a scenario to get the in-market category list from Adwords API. 
After investigation, we found there are two ways:
1. call ConstantDataService.getUserInterestCriterion service
2. use the csv file provided here: 
https://developers.google.com/adwords/api/docs/appendix/codes-formats#in-market-categories

So, the question is, how frequent does the in-market category list change? 
in the same adwords api version, is it possible the list will change? 
Based on the answer, if the in-market category list does not change during 
one adwords api verion, I guess we prefer #2 because we need to upgrade the 
adwords api verion anyway. otherwise, we prefer to #1 because we can get 
the latest list automatically. 

Thanks in advance:)


Thanks,
Jianbo

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e5b48bed-4368-4b66-871a-96d4bdd5984f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Adwords Oauth playground “error”: “unauthorized_client”

2018-04-16 Thread 'Teja Makani' via AdWords API Forum
Hello Suresh,

The steps until point 1 in the OAuth playground seems to be correct. Please 
check the next steps below:

1. Send the link to your manager to login to the company's AdWords account 
and get authorization code from your manager account. Once you have the 
authorization code, you will need to continue the same screen flow until 
generating the Authorization code in the OAuth playground and replace your 
authorization code with the manager's authorization code. Then please 
proceed to the step 8 from this setup guide 
 to 
generate refresh token and access token. You can use this refresh token to 
make a API calls against your manager account. Please note that you will 
need to use the authorization code generated by the manager. Also, request 
the manager not to generate the refresh token for the authorization code 
that is being passed to you since an authorization code can only be 
redeemed once. If Manager passed on the refresh token instead of 
authorization code for you to use that directly, it will fail as the 
refresh token belongs to a different client credentials. 

Could you please follow the steps and retry? Let me know if you are still 
facing issues.

Regards,
Sai Teja. AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/67dfed2f-0b0b-4424-91d1-35edf669a28e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: reports coming blank for one website but working fine for other website

2018-04-16 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
Hi Naresh,

It could be that you are running report against a MCC account instead of a 
client customer id unless you are running the ParallelReportDownload 

 which 
requires a MCC account. However, could you please *reply privately to 
author* with your client customer id and report definition, so that I can 
take a closer look?

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/efb3b03b-c266-4bed-9a26-63f3ae6e628f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Default value for Criterion

2018-04-16 Thread Gary Jiang
Thanks, so does it mean that if I send a request with only one AgeRange 
targeted, all of the rest AgeRange will no longer be targeted  
automatically?

On Monday, April 16, 2018 at 1:11:54 AM UTC-7, Vincent Racaza (AdWords API 
Team) wrote:
>
> Hi Gary,
>
> You are correct that all ages are targeted by default as you can see in 
> this guide 
> .
>  
> On the ad group level, you can target or exclude an AgeRange 
> 
>  criterion 
> as you can see in this table 
> . 
> So you have two options for the ad group level, either you target the 
> AgeRange criterion using BiddableAdGroupCriterion 
> 
>  to 
> restrict your ad group for that age range only, or you exclude the AgeRange 
> criterion using NegativeAdGroupCriterion 
> 
>  in 
> order for you to target all age ranges except that specific age range.
>
> This said, if your goal is to enable/target the 35-44 age range 
> 
>  only, 
> then I suggest to target it using BiddableAdGroupCriterion.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/badc6ced-0fbb-47dd-80b2-7638e775c9c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Steps to Create Dynamic Re-marketing Campaign and attach to feed

2018-04-16 Thread Pandya Dhruv
Hello,

Can you please let me know the Steps to Create Dynamic Re-marketing 
Campaign and attach to feed?

I already have created a feed. I need steps to create Remarketing campaign 
using C#. 
I dont know what are the requirements for creating google adwords 
remarketing campaign and attach feed to it. 

Regards,
Dhruv Pandya

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e97432a7-b61c-4c65-9cae-f83387dd31f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What's the best way to setup multiple Criterion values for the same item?

2018-04-16 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello Gary, 

You're right. You will need to have multiple operands for both Positive and 
Negative AdGroup criterion. You could use AdGroupCriterionService.mutate() 

 and 
select the AdGroupCriterion 

 as BiddableAdGroupCriterion 

 with 
Criterion as AgeRange 

 to 
include all positive criterion. To exclude a specific age group criterion, 
you can use NegativeAdGroupCriterion 
.
 
You may refer to this code sample in Java 

 as 
a reference. Code samples in other languages can be found here 
. 

Regards,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a77aab1a-1642-4a3a-bf53-1cb0d06ede48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: keyword text keyword match type keyword id

2018-04-16 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Amit, 

Let me clarify this for you. You can consider the shared set as a list of 
keywords. Instead of adding the individual keywords as criterion, you can 
just attach the list as the criterion to campaign or ad group. The ids of 
criterion alone are not globally unique, but the combination of the shared 
set id and the keyword id will be globally unique. This means that the 
keyword exist in the shared set and the concept of adding the same keyword 
with same id to a different set is ideally creating a new keyword in the 
second set. You might have seen that the adding keyword with same text is 
creating a keyword with same Id. This does not mean that the keywords are 
same. Also, there is no guarantee that the keywords will always have the 
same id. You can observe the same behavior while adding a keyword in the ad 
group too. To summarize, If you need the keyword with same text in a 
different shared set, you have to create it again in the second set and use 
the *ADD* operator. The new keyword will need to be referenced with the 
*combination 
of the criterion id and the shared set id *to uniquely identify it. 

Hope this clarifies your question. 

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/427c5173-b526-479e-90ed-92f84ccdf5fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: get (setRequestType) IDEA and STATS data together

2018-04-16 Thread 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
Hi Abdul,

I am afraid that you wont be able to get the both information in single 
request. You will need to make separate API requests one for the keyword 
ideas (IDEAS) and the second for the STATS. Let me know if you have further 
questions.  

Thanks,
Milind, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5f3f5ab9-245a-4fb2-9a51-c120b4789309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


reports coming blank for one website but working fine for other website

2018-04-16 Thread Naresh Kumar
i am working the latest 2018 adwords api.. its working fine with one 
adwords account and i am getting reports in csv format. Report are accurate 
and perfect .
but with another adwords its not working.
what could be issue ?
reports are coming blank for the another account.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4c8ad8d6-8339-4684-b4f7-f2808e9a8044%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: throwing DetailedReportDownloadResponseException with 400 Response code.

2018-04-16 Thread Ronald Findling
After adding some more logging, another example that results in a 400 on 
our side:


19:07:52 [WARN] c.g.a.a.a.lib.utils.report_download Request made: Service: 
reportdownload Method: POST clientCustomerId: XXX URL: 
https://adwords.google.com//api/adwords/reportdownload/v201710 Request ID: 
null ResponseTime(ms): null OperationsCount: null IsFault: true 
FaultMessage: com.google.api.ads.adwords.lib.utils.ReportException: 502: 
Bad Gateway
2018-04-15 19:07:52 [INFO] c.g.a.a.a.lib.utils.report_download HTTP request:
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [XXX (AwApi-Java, Common-Java/3.12.0, Java/1.8.0_121, maven, 
ReportDownloader)]
developertoken: REDACTED
clientcustomerid: XXX
includezeroimpressions: false

Content:
__rdquery: SELECT Conversions,ConversionValue FROM 
SHOPPING_PERFORMANCE_REPORT WHERE CountryCriteriaId = 2250 DURING 
20180316,20180415
__fmt: XML

Caused by: HTTP Response Code: 400 at 
com.google.api.ads.adwords.lib.utils.v201710.DetailedReportDownloadResponseException$Builder.build(DetailedReportDownloadResponseException.java:35)

Am Freitag, 30. März 2018 15:15:38 UTC+2 schrieb Josh Radcliff (AdWords API 
Team):
>
> Hi Ron,
>
> Sorry, I'm still having trouble locating those requests in our logs. Would 
> you mind sending over the customer ID where your developer token is 
> registered? You can send it only to me by clicking *Reply privately to 
> author*.
>
> Regarding the timeout theory, the ReportDownloader won't automatically 
> retry requests. However, if you think timeouts are the root cause here, you 
> can adjust the timeout for report downloads programmatically or in your 
> *ads.properties* file. Check out this section of the ads.properties file 
> 
>  for 
> details.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, March 28, 2018 at 8:10:33 AM UTC-4, Ronald Findling wrote:
>>
>> Hi Josh,
>>
>> I checked the request data that I provided you and they are exactly what 
>> I can see in my logs. Maybe I should mention that the provided time is the 
>> time at which the request failed not when it was sent to your servers (that 
>> time is ~30-40 seconds before).
>>
>> Concerning the thread-safety recommendations I'm sure that the 
>> ReportDownloader and its Session are not used in multiple threads in our 
>> code.
>>
>> Further information: 
>> Checking our errors I found an interesting pattern, failing requests 
>> always take at least 30 seconds (usually 30-31) while successful ones are 
>> most likely to be around 1 second.
>>
>> Maybe a stupid thought but could it be a something like the java-library 
>> timing out after 30 seconds and retrying using the provided 
>> session/ReportDownloader again which then violates the threadSafety and 
>> results in invalid requests?
>>
>> Best Regards,
>> Ron
>>
>>
>> Am Dienstag, 27. März 2018 23:05:31 UTC+2 schrieb Josh Radcliff (AdWords 
>> API Team):
>>>
>>> Hi Ronald,
>>>
>>> I searched the logs on our side and could not find either of those 
>>> requests. Are you sure that they were submitted for the account ID you 
>>> mentioned?
>>>
>>> By the way, did you check if you're adhering to the thread safety 
>>> guidelines I mentioned earlier? I just want to make sure we can rule that 
>>> out as a possible cause of the errors.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, March 27, 2018 at 9:53:11 AM UTC-4, Ronald Findling wrote:

 Hi Josh,

 thx for the hints.
 Concerning the requested information I can give you 2 identical request 
 where one succeeded and the other one failed with a 400 as shown in my 
 last 
 message.

 failed:
 time: 27.03.18 01:06:08 CEST
 googleAdwordsAccountId: 685-366-2732
 SELECT Conversions,ConversionValue FROM SHOPPING_PERFORMANCE_REPORT 
 WHERE CountryCriteriaId = 2826 DURING 20180225,20180327;

 succeeded:
 time: 27.03.18 03:06:30 CEST
 googleAdwordsAccountId: 685-366-2732
 SELECT Conversions,ConversionValue FROM SHOPPING_PERFORMANCE_REPORT 
 WHERE CountryCriteriaId = 2826 DURING 20180225,20180327;

 Best Regards, Ron

 Am Dienstag, 20. März 2018 21:54:13 UTC+1 schrieb Josh Radcliff 
 (AdWords API Team):
>
> Hi Raneen,
>
> From our logs, it appears that your requests are most frequently 
> failing with the following errors:
>
>- ReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCH
>- AuthorizationError.USER_PERMISSION_DENIED
>- ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT
>
> Could you share a report request that failed, with any sensitive 
> information removed (developer token, OAuth access token, etc.)?
>
> Also, I see that you are using the client library for Java. Are you 
> adhering to the thread-safety recommendations 
> 

Re: throwing DetailedReportDownloadResponseException with 400 Response code.

2018-04-16 Thread Ronald Findling
After adding some more logging, another example that results in a 400 on 
our side:


19:07:52 [WARN] c.g.a.a.a.lib.utils.report_download Request made: Service: 
reportdownload Method: POST clientCustomerId: 858-429-0765 URL: 
https://adwords.google.com//api/adwords/reportdownload/v201710 Request ID: 
null ResponseTime(ms): null OperationsCount: null IsFault: true 
FaultMessage: com.google.api.ads.adwords.lib.utils.ReportException: 502: 
Bad Gateway
2018-04-15 19:07:52 [INFO] c.g.a.a.a.lib.utils.report_download HTTP request:
accept-encoding: [gzip]
authorization: REDACTED
user-agent: [smeco (AwApi-Java, Common-Java/3.12.0, Java/1.8.0_121, maven, 
ReportDownloader)]
developertoken: REDACTED
clientcustomerid: 858-429-0765
includezeroimpressions: false

Content:
__rdquery: SELECT Conversions,ConversionValue FROM 
SHOPPING_PERFORMANCE_REPORT WHERE CountryCriteriaId = 2250 DURING 
20180316,20180415
__fmt: XML

Caused by: HTTP Response Code: 400 at 
com.google.api.ads.adwords.lib.utils.v201710.DetailedReportDownloadResponseException$Builder.build(DetailedReportDownloadResponseException.java:35)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/13b5f9e7-1899-442f-aaea-fc7bcdfc490f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED - even though I am passing client customer id in request

2018-04-16 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Jofin, 

Thanks for sharing the logs. Our engineering team is currently 
investigating this issue. I'll keep you posted on the updates. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/361275ea-9c1e-401f-b05a-bffe6466962d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Intermittent QuotaCheckError.INVALID_TOKEN_HEADER / C# API / UserListService

2018-04-16 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
Hello,

The issue has been resolved. Could you please try again and let us know if 
this still persists.

Best,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3e297a7-7a57-446b-8b75-5d8fee768bd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED error since 2018-04-12 on /api/adwords/ch/v201802/CustomerSyncService

2018-04-16 Thread 'Michael Cloonan (AdWords API Team)' via AdWords API Forum
Hello,

We have gotten another report of this same issue, so I've escalated for our 
team to take a look. I will let you know as soon as I have more information 
to share.

Regards,
Mike, AdWords API Team

On Sunday, April 15, 2018 at 11:59:33 PM UTC-4, Luis Xander Talag (AdWords 
API Team) wrote:
>
> Hi,
>
> There was a recent issue that was reported to our team regarding this. 
> However, we've received information that the issue has now been resolved. 
> Could 
> you retry your requests and check if you still encountered the error on 
> your end? If so, could you provide the latest SOAP request and response 
> logs when the error occurs? Please reply via *Reply privately to author*.
>
> Thanks and regards,
> Luis
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2d65dcba-256b-4248-a188-200c0ea22c03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Limit accounts of MCC?

2018-04-16 Thread Federico Conti
Hi all,

I developed an app for my digital marketing agency that connects to our MC on 
my personal server.

Our MCC contains accounts of big client that I would like to hide from the API 
access, I am particularly afraid that my server on day will be hacked, and an 
attacker with AdWords API knowledge could potentially modify the files on my 
server and get some of my clients' accounts to spend large amount of money for 
malicious purpose.

Is there a way to limit / select the accounts in my MCC that can be accessed 
with the API, or the only solution would be to create an additional MCC, with 
only the accounts I want and request another developer token for it? 

Let me know what is best practice here in terms of security.

Thanks
Federico


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ff6a4b8-a10d-4c90-a59b-43902c5add09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


What's the best way to setup multiple Criterion values for the same item?

2018-04-16 Thread Gary Jiang
Hi,

I am trying to set up some adgroup criterion values and age range. Since I 
found that only one criteria id is accepted for one operand, I have to put 
multiple operands in a request to set the criteria to be something like 
"Eligible for 18-25 and 65+, and excluded for all the rest age range" by 
using a combination of BiddingAdGroupCriterion and 
NegativeAdGroupCriterion. I was wondering if this is the best 
implementation we could have using the latest version of AdWords API for 
now. Thanks

Gary

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/867678f8-ded3-45c8-ba31-761b5f8be616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Adwords Oauth playground “error”: “unauthorized_client”

2018-04-16 Thread suresh babu


My Company has an Ad-word Account. I want to generate a refresh token to 
access the API. To generate refresh token I did the following:

I created a developer account and did the following in my account
Get a client ID and client secret
   
   1. Open the Google API Console Credentials page.
   2. From the project drop-down, select an existing project or create a 
   new one. On the Credentials page, select Create credentials, then select 
   OAuth client ID.
   3. Under Application type, choose Web application.
   4. Under Authorized redirect URIs, add a line with: 
   https://developers.google.com/oauthplayground Click Create.
   5. On the page that appears, take note of the client ID and client 
   secret. You'll need these in the next step.

Then 

   1. 
   
   In the OAuth playground, I used the above clientId and clentSecret and 
   clicked authorize and it was asking for a login.
   2. 
   
   I sent the link to my manager to login to the company ad-word account 
   and authorize it and send me the returned URL which is the playground URL 
   for generating refresh token.
   3. 
   
   After receiving the URL, I cliked on generate refresh token and it 
   responded with *"error": "unauthorized_client"*
   
Is there something wrong with the above steps? 

My developer account should be linked or added to my company account before 
I can do above steps?

Do I need any developer token?

Kind help appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0786e764-7e94-44f2-a0b2-10fa5b6ab950%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Review Ad Extensions in v201802

2018-04-16 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API Forum
Hi Kevin,

The Review extensions 

 is 
still supported in the latest version of AdWords API (v201802). Additionally, 
to be able to retrieve a specific object, you should use the .get() method 
of the service which you used to create them. In this case, you should use 
the CampaignExtensionSettingService.get() 

 instead. 
Also, you could still create a CampaignFeed 

 with PlaceholderType 8 

.

If the issue persist after doing my suggestions, could you provide the 
complete SOAP request and response logs so I could further investigate? 
Please reply via *Reply privately to author*.

Thanks and regards,
Luis
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f4a9efab-d751-47e8-b9af-8cd6ef79e76b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Default value for ad ops criterion

2018-04-16 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Gary,

As you can see in this table 
, 
the Gender 

 criterion 
can be targeted or excluded in the ad group level. And yes, by default, all 
genders are targeted. If your goal is to target the male gender 
 
only, 
then use the BiddableAdGroupCriterion 

 instead. 
Using the NegativeAdGroupCriterion 

 would 
mean that all genders (e.g. Male and Undetermined) are targeted except the 
specific gender (e.g. Female) you included in your request.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/166a8879-85b6-4ff0-bd1e-376f9baf7350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Default value for Criterion

2018-04-16 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Gary,

You are correct that all ages are targeted by default as you can see in 
this guide 
. 
On the ad group level, you can target or exclude an AgeRange 

 criterion 
as you can see in this table 
. 
So you have two options for the ad group level, either you target the 
AgeRange criterion using BiddableAdGroupCriterion 

 to 
restrict your ad group for that age range only, or you exclude the AgeRange 
criterion using NegativeAdGroupCriterion 

 in 
order for you to target all age ranges except that specific age range.

This said, if your goal is to enable/target the 35-44 age range 

 only, 
then I suggest to target it using BiddableAdGroupCriterion.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/699343d4-97c9-4474-ba6c-bf96dcf0a1fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: keyword text keyword match type keyword id

2018-04-16 Thread Amit Kumar Verma
Hi Milind,

I want same criterion id for same text and match type because it will not 
be a one time operation , I may have to add same criterion to many other 
shared sets and may have to remove it from some shared set so if it will 
create different id each time , it will not look good as I am also saving 
all the criterion in database and displaying it so I don't want different 
criterion for same text and match type. Why can't we just add same existing 
criterion in different existing shared set ?

Thanks

On Saturday, April 14, 2018 at 12:22:36 AM UTC+5:30, Milind Sankeshware 
(AdWords API Team) wrote:
>
> Hi Amit,
>
> Each Shared set owns the keywords in that list. If you want to add a 
> keyword with the same text and match type as in a different shared set, you 
> will need to add the keyword again to the second shared set. Since the text 
> is same, you might get the keyword criterion Id same as in the shared set 
> one. But this does not mean that the keywords are same. The criterion id is 
> not globally unique. The combination of shared set id and the criterion Id 
> is globally unique. For more information please refer this guide 
> . 
> To summarize, you will have to add the keyword with the same text and match 
> type to the second shared set. Please note that you might or might not get 
> the same criterion Id while doing this. Let me know if you have further 
> questions. 
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2abb9bf-4f20-44cc-a556-15818666944a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: keyword text keyword match type keyword id

2018-04-16 Thread Amit Kumar Verma
Hi Milind,

I want same criterion id for same text and match type because it will not 
be a one time operation , I may have to add same criterion to many other 
shared sets and may have to remove it from some shared set so if it will 
create different id each time , it will not look good as I am also saving 
all the criterion in database and displaying it so I don't want different 
criterion for same text and match type. Why can't we just add an exiting 
criterion to a existing shared set ?

Thanks

On Saturday, April 14, 2018 at 12:22:36 AM UTC+5:30, Milind Sankeshware 
(AdWords API Team) wrote:
>
> Hi Amit,
>
> Each Shared set owns the keywords in that list. If you want to add a 
> keyword with the same text and match type as in a different shared set, you 
> will need to add the keyword again to the second shared set. Since the text 
> is same, you might get the keyword criterion Id same as in the shared set 
> one. But this does not mean that the keywords are same. The criterion id is 
> not globally unique. The combination of shared set id and the criterion Id 
> is globally unique. For more information please refer this guide 
> . 
> To summarize, you will have to add the keyword with the same text and match 
> type to the second shared set. Please note that you might or might not get 
> the same criterion Id while doing this. Let me know if you have further 
> questions. 
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/97fb4e59-bd81-4442-9623-443d8ec8904b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Default value for Criterion

2018-04-16 Thread Gary Jiang
Hi,

I was trying to set up some criterion field for an adgroup, such as 
AgeRange using API, and I found that all items for that criteria are 
enabled by default, so I have to use  *NegativeAdGroupCriterion.*

For example, if I need to make AgeRange with "35 - 44" enabled, I am 
sending a request like this:


 

   {

'xsi_type': 'AdGroupCriterionOperation',

'operator': operator,

'operand': {

'xsi_type': 'NegativeAdGroupCriterion',

'adGroupId': ad_group_id,

'criterion': {

'xsi_type': 'AgeRange',

'id': *id for 18-24*,

}

}

},

   {

'xsi_type': 'AdGroupCriterionOperation',

'operator': operator,

'operand': {

'xsi_type': 'NegativeAdGroupCriterion',

'adGroupId': ad_group_id,

'criterion': {

'xsi_type': 'AgeRange',

'id': *id for 24-35*

}

}

},...


to disable all rest AgeRange. I was wondering if I use that correctly and 
if there is easier way. Thank
 
 
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71c9ce97-f31d-486f-87eb-e546af20d5e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Review Ad Extensions in v201802

2018-04-16 Thread Kevin


Are Review Ad Extensions supported in v201802?

It looks like they still exist as an ExtensionFeedItem 
,
 
but when I query the CampaignFeedService 

 I 
don't see any feeds with placeholder type 8 
. 
To double check, tried to access the ReviewFeedItem for my campaign from 
the CampaignExtensionSettingService (v20180) using the same campaignId and 
was successful. In addition, I can the campaignFeed from v201710.

Is this the intended behavior?

Re-post from: https://github.com/googleads/googleads-dotnet-lib/issues/161

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eb643ca6-88e6-452a-a9fa-5aa13c9bd83c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Review Ad Extensions in v201802

2018-04-16 Thread Kevin
Are Review Ad Extensions supported in v201802?

It looks like they still exist as an ExtensionFeedItem, but when I query 
the CampaignFeedService I don't see any feeds with placeholder type 8. To 
double check, tried to access the ReviewFeedItem for my campaign from the 
CampaignExtensionSettingService (v20180) using the same campaignId and was 
successful. In addition, I can the campaignFeed from v201710.

Is this the intended behavior?

Re-post from: https://github.com/googleads/googleads-dotnet-lib/issues/161

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/753e1fe8-e511-4855-8d69-408fad50d646%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Default value for ad ops criterion

2018-04-16 Thread Gary Jiang
Hi,

I was trying to set some criterion options to my adgroup using the API, and 
I found that if I only need to enable one item for a specific criteria, I 
need to include several "NegativeAdGroupCriterion" operand in one API since 
it seems the default value for each item is enable. So I have to send such 
a request if I want to make the adgroup only targeted to Male, my request 
message should be like this:

> {
>
> 'xsi_type': 'AdGroupCriterionOperation',
>
> 'operator': operator,
>
> 'operand': {
>
> 'xsi_type': 'NegativeAdGroupCriterion',
>
> 'adGroupId': ad_group_id,
>
> 'criterion': {
>
> 'xsi_type': 'Gender',
>
> 'id': *id for Female*,
>
> }
>
> }
>
> },
>
> {
>
> 'xsi_type': 'AdGroupCriterionOperation',
>
> 'operator': operator,
>
> 'operand': {
>
> 'xsi_type': 'NegativeAdGroupCriterion',
>
> 'adGroupId': ad_group_id,
>
> 'criterion': {
>
> 'xsi_type': 'Gender',
>
> 'id': *id for unknown*,
>
> }
>
> }
>
> }
>
>  I was wondering if I use it correctly or if there is any easier way. 
Thanks

 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f686595-72f4-4378-8cb7-1bf752f85f50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.