Re: How to Select Multiple Product Item by ProductOfferId Class

2018-11-21 Thread faizan . zulfiqar
Hi Teja

Sorry i am very confused here.
can you please explain how can i select multiple product by ID and make a 
separate UNIT.
can ProductOfferId product dimension is the one which can help.

Thanks alot

On Wednesday, November 21, 2018 at 12:51:36 AM UTC+5, Teja Makani wrote:
>
> Hello Faizan,
>
> You can create product dimensions only based on the types mentioned here 
> .
>  
> Please note the ProductOfferId 
> 
>  is 
> same as the Item id of the product. So to have a subdivision of item ids 
> under the product dimension you could create product dimension based on the 
> types other than the ProductOfferId for example ProductBrand 
> 
> , ProductType 
> 
>  or ProductBiddingCategory 
> 
>  etc. 
> You could also post your question on the Advertisers community forum 
>  the 
> product specialists there might have more information on this.
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Monday, November 19, 2018 at 8:14:33 AM UTC-5, faizan@arpatech.com 
>  wrote:
>>
>> Hello
>>
>> I need to make a product of selected product. I have searched and found 
>> out that we can achieve it via ProductOfferId Partition Type Class but my 
>> question is how can we assign multiple items ?
>> Waiting for your answer
>>
>>
>> Thank you
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/77ff48d7-1285-4868-8e54-804752ab8d03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Seeing zero impression entities in performance reports when i set include zero impressions to False.

2018-11-21 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Manu,

Can you provide your clientCustomerId and report definition 

 so 
I can further investigate the issue on my end? You may send them to me via 
*Reply 
privately to author*. You may also refer here 

 for 
instructions on how to exclude zero impressions in reports.

Thanks,
Luis
AdWords API Team

On Thursday, November 22, 2018 at 8:01:17 AM UTC+8, Manu Reddy wrote:
>
> while downloading performance reports downloads,  i see that some entities 
> with zero impressions are downloaded. Is this expected? I checked the api 
> and report headers and saw that the headers are being set correctly. Im 
> using the python google ads api to download reports.
>
> thanks,
> Manu 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/eabc472d-4198-4b2c-b61f-76df09934d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Possible to retrieve invoices through API?

2018-11-21 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Antoine,

I'll follow up on this concern with the engineering team, however, there's 
no guarantee that it will be available soon. Kindly follow the blog 
 for future 
updates regarding this feature.

Let me know if you have further clarifications.

Thanks,
Luis
AdWords API Team

On Thursday, November 22, 2018 at 8:01:02 AM UTC+8, antoine lievre wrote:
>
> Hi,
>
> I just checked the blog and can't find anything about retrieving invoices.
> But there is a lot of organization that really want this feature, and this 
> 8 years mow (at least).
> So, i'm hoping that it will be available ASAP.
>
> Antoine
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4e044f82-40fd-4bcf-bea8-a442714db8e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Seeing zero impression entities in performance reports when i set include zero impressions to False.

2018-11-21 Thread 'Manu Reddy' via AdWords API and Google Ads API Forum
while downloading performance reports downloads,  i see that some entities 
with zero impressions are downloaded. Is this expected? I checked the api 
and report headers and saw that the headers are being set correctly. Im 
using the python google ads api to download reports.

thanks,
Manu 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/975e4b45-b0a4-42f4-8aa0-6721f191ef43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Share audiences between accounts in MCC

2018-11-21 Thread Gabi Lee
+1

On Monday, February 6, 2017 at 11:20:11 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi,
>
> I'm afraid sharing remarketing lists associated with the client account 
> with its MCC account is not possible using AdWords API. You need to do this 
> in the AdWords UI using the instructions provided here 
> . Please keep an eye 
> on our blog 
>  for any 
> updates or announcements related to this feature. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/08d5f08c-a196-4159-868a-6ab26d89697a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Possible to retrieve invoices through API?

2018-11-21 Thread antoine lievre
Hi,

I just checked the blog and can't find anything about retrieving invoices.
But there is a lot of organization that really want this feature, and this 
8 years mow (at least).
So, i'm hoping that it will be available ASAP.

Antoine

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9429782e-7d87-4f5d-bd7c-510af126d08e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign Service campaignUpdate throws ApiException when ShoppingSetting have merchantId set

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ronald,

Could you please provide the complete SOAP request and response logs 
(without redacting any information such as clientCustomerId and the 
merchantId) using the *Reply privately to author *option so I can 
investigate this more?

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 12:07:04 AM UTC+8, Ronald Findling wrote:
>
> When doing a campaign update requests (`mutate` with 
> `CampaignOperator.SET`) which has shoppingSettings (with `merchantId`) we 
> observe a `com.google.api.ads.adwords.axis.v201806.cm.ApiException` see [1]
> In this request we set all mandatory properties (`merchantId`, 
> `salesCountry`, `campaignPriority`)
>
> Leaving out the merchantId however makes the request succeed, request and 
> response see [2] [3].
>
> I can't find documentation why these parameters shouldn't be set in this 
> case:
> mutate 
> https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService
> CampaignOperation SET 
> https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.CampaignOperation
> ShoppingSetting 
> https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.ShoppingSetting
>
> We are using com.google.api-ads:adwords-axis:3.15.1
>
> [2]
> 2018-11-21 16:11:47 [INFO] c.g.a.a.a.l.c.A.soapXmlLogger SOAP request:
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
> 
> https://adwords.google.com/api/adwords/cm/v201806"; 
> soapenv:mustUnderstand="0">
> XXX
> REDACTED
> smeco (AwApi-Java, AdWords-Axis/3.15.1, 
> Common-Java/3.15.1, Axis/1.4, Java/1.8.0_152, maven)
> false
> false
> 
> 
> 
> https://adwords.google.com/api/adwords/cm/v201806";>
> 
> SET
> 
> 99
> (AT:Whoop!) Indoor
> https://adwords.google.com/api/adwords/cm/v201806"; 
> xsi:type="ns2:ShoppingSetting">
> XXX
> AT
> 0
> 
> 
> 
> 
> 
> 
>
> [3]
> 2018-11-21 16:11:47 [INFO] c.g.a.a.a.l.c.A.soapXmlLogger SOAP response:
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> https://adwords.google.com/api/adwords/cm/v201806";>
> 00057b2e2b2a07410a373303cb0f5a91
> CampaignService
> mutate
> 1
> 269
> 
> 
> 
> 
> soap:Server
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
> 
> https://adwords.google.com/api/adwords/cm/v201806";>
> 
> [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]
> 
> ApiException
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="InternalApiError">
> 
> 
> 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> InternalApiError
> UNEXPECTED_INTERNAL_API_ERROR
> 
> 
> 
> 
> 
> 
>
>
> [1]
> 2018-11-21 16:11:47 [WARN] c.g.a.a.a.l.c.A.requestInfoLogger Request made: 
> Service: CampaignService Method: mutate clientCustomerId: XXX URL: 
> https://adwords.google.com/api/adwords/cm/v201806/CampaignService Request 
> ID: 00057b2e2b2a07410a373303cb0f5a91 ResponseTime(ms): 269 OperationsCount: 
> 1 IsFault: true FaultMessage: 
> ApiException{applicationExceptionType=ApiException, 
> errors=[InternalApiError{apiErrorType=InternalApiError, 
> errorString=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, 
> reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]}
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://gr

Re: Cost per Conversion and Conversion Rate calculations - API

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Olivier,

The AdWords API only reflects the results in the UI. Since you mentioned 
that your computation does not reflect in the Google Ads UI, it would be 
better to open your concern to the Advertiser's Community Forum 
, as 
the product experts are better equipped in answering your concerns. 

Regards,
Dannison
AdWords API Team


On Thursday, November 22, 2018 at 3:20:29 AM UTC+8, oliv...@dashthis.com 
wrote:
>
> Hello Dannison,
>
>
> Thanks for the reply.
>
> As a matter of fact, we do download the Campaign Performance Report to 
> obtain the results :)
>
> Basically, for technical reasons on our side (among other things, 
> aggregate results from multiple Adwords accounts), we prefer (for some 
> metrics, not all) to calculate using parts of a calculated metric. For 
> example, get the Cost and the Conversions separately, then re-calculating 
> them. 
>
> In that specific case, we do not obtain the same results as the Adwords 
> UI. If the Conversion Rate displayed in the UI is different from the 
> calculated metric using its parts, how can we find the correct numbers to 
> do the calculation, in the API?
>
> Let me know :)
>
> On Wednesday, November 21, 2018 at 2:07:00 PM UTC-5, Dannison Yao (AdWords 
> API Team) wrote:
>>
>> Hi Olivier,
>>
>> It appears that you are using the Campaign Performance Report 
>> .
>>  
>> You could download this by referring to our reporting guidelines 
>>  or sample 
>> codes 
>>  
>> (also 
>> available in different languages) and compare the results to the UI. 
>> However, since the AdWords API only reflects the results shown in the 
>> Google Ads UI, you will not be able to see the differences. If you think 
>> that there are data discrepancies in your report, you could open your 
>> concern to the Advertiser's Community Forum 
>> , 
>> as the product experts are better equipped in answering your concerns.
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>> On Thursday, November 22, 2018 at 12:14:43 AM UTC+8, oli...@dashthis.com 
>> wrote:
>>>
>>> Hello everyone!
>>>
>>> I am a member of the technical support of a reporting tool we provide to 
>>> Google Ads advertisers.
>>>
>>> Recently, a case of "data discrepancy" have been uncovered and we still 
>>> struggle to understand the calculations of the Cost/Conversions and the 
>>> Conversion Rate metrics.
>>> For technical reasons I won't go into, we usually make the Cost/Conv 
>>> calculation on our side. However, one of our clients showed us its Google 
>>> Ads UI with results for these metrics, and they do not match the 
>>> calculation:
>>>
>>>
>>> Cost/Conv = Cost / Conversions
>>> Conversion Rate = Conversions / Clicks
>>>
>>> Here is a screenshot where you can see that:
>>>
>>> [image: adwordsquestion_discrepancy_costconv.png]
>>>
>>> As you can see, the calculation in the UI matches for some campaigns, 
>>> but not all of them.
>>>
>>> How can that be?
>>> From some research on the Web, it is already noted that some clicks 
>>> and/or conversions can be wrongly tracked on some platforms or specific 
>>> cases (e.g., old mobile platforms, etc).
>>>
>>> If anyone could explain that to me, that would be great :)
>>>
>>> Even better, if you can provide me with a way to report the exact 
>>> numbers from the UI (through the API), that would be even better!
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/43a9de0b-730e-4017-a8d8-0ed9eed5d4d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Label Operations

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Sam,

Mutating labels are supported in batch processing. 

You can see different label operations here 
,
 
and may use corresponding service to perform batch jobs for it. 
Additionally, if you're encountering Rate Limit Exceeded 

 errors 
when performing large amounts of label operations without batch processing, 
the best thing to do here is to apply for standard access 
 (if you currently 
have basic) or wait until the following day before making service calls 
again.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 2:36:13 AM UTC+8, s...@feedonomics.com 
wrote:
>
> Label operations must be mutated and can't be sent through batching, 
> correct?
>
> We're worried about hitting rate limits without sending these label 
> operations through batching. What is the recommended solution for scaling 
> large amounts of label operations without batching them?
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/b26d9a66-5e8e-4177-b0b5-f485d71b2cb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: try to create multiple ad on same ad group, but api throw error DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Ran,

The team is aware of this issue and we are currently investigating the 
cause of the problem.

I'll let you know as soon as we have any updates.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 4:04:37 AM UTC+8, RAN HU wrote:
>
> Hi Google,
>
> try to create multiple ad on same ad group, but api throw error 
> DatabaseError.CONCURRENT_MODIFICATION
>
> im using node js generate soap request manually, if need soap request 
> please ask me.
>
> Thanks,
> Ran
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/e90f7230-2d1a-4161-bb85-a8d523942d21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How could I custom a daterange in this script?

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yang, 

You can use the custom date range when you want to retrieve the data you 
had for the last three months. You may refer to the sample code below:

.During(start_date='', end_date='')

Note that the values for start date and end date should be in the 
format MMDD. You may also visit this link 

 for 
more information.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 1:41:24 AM UTC+8, y...@pangeare.com wrote:
>
> report_downloader = client.GetReportDownloader(version='v201809')
>  
> # Create report query. 
> report_query = (adwords.ReportQueryBuilder() 
>   .Select('Id,Date')
>   .From('KEYWORDS_PERFORMANCE_REPORT')
>   .Where('CampaignStatus').In('ENABLED', 'PAUSED')
>   .During('LAST_7_DAYS')
>   .Build())
> results=report_downloader.DownloadReportAsStringWithAwql( report_query, 
> 'CSV', skip_report_header=True, skip_column_header=True,
> skip_report_summary=True, include_zero_impressions=True)
>
> I am using this script to download keywords performance report, what 
> should I do if I would like to download the last 3 months?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/2646a8c8-daed-4163-a75b-4407c24a8208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


try to create multiple ad on same ad group, but api throw error DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread RAN HU
Hi Google,

try to create multiple ad on same ad group, but api throw error 
DatabaseError.CONCURRENT_MODIFICATION

im using node js generate soap request manually, if need soap request 
please ask me.

Thanks,
Ran

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/0b597cc9-161c-4a67-98a3-15b18a4f8bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Labels return empty in keywords performance report

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum

Hi Yang,

To clarify, the two dashes 
 
indicate 
that there is no value for the cell.

Are the values from the API different from what you're seeing from the 
Google Ads UI? You can refer to this link 
 
under 
"Keywords Report" to map the values from the API to the UI.

If the values are different, could you please provide the clientCustomerId 
so I can investigate this more?

Regards,
Dannison
AdWords API Team
Response Links


On Thursday, November 22, 2018 at 1:23:15 AM UTC+8, y...@pangeare.com wrote:
>
> report_downloader = client.GetReportDownloader(version='v201809')
>  
> # Create report query. 
> report_query = (adwords.ReportQueryBuilder() 
>   .Select('Labels')
>   .From('KEYWORDS_PERFORMANCE_REPORT')
>   .Where('CampaignStatus').In('ENABLED', 'PAUSED')
>   .During('LAST_7_DAYS')
>   .Build())
> results=report_downloader.DownloadReportAsStringWithAwql( report_query, 
> 'CSV', skip_report_header=True, skip_column_header=True,
> skip_report_summary=True, include_zero_impressions=True)
>
> All other fields could return appropriate vales, except 'Labels', it only 
> returns  '--'
>
> Thanks
>
> Yang
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9e832b1d-84ea-4bf5-a1ba-4ec33a1b10d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token. See inner exception for details.

2018-11-21 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

This is a pretty old thread from what it appears to be someone else. Could 
you please start a new thread with your information, so we can best help 
you and make sure your issue doesn't get confused with someone else's?

Thanks,
Nadine, AdWords API Team

On Wednesday, November 21, 2018 at 12:59:32 AM UTC-5, vibh...@whisskers.com 
wrote:
>
>
>
> On Thursday, August 16, 2018 at 11:03:37 PM UTC+5:30, rentca...@gmail.com 
> wrote:
>>
>> Hi,
>>
>> I'm getting error "Failed to refresh access token. See inner exception 
>> for details." when I try to get campaign information.  The line of code 
>> is page = campaignService.get(selector) where page = "CampaignPage".  This 
>> process works when I use it in a web application but not when I use it in a 
>> windows service.  Below is some information that I hope will be helpful in 
>> figuring out the problem.  I was not able to get the logging working in the 
>> windows service.
>>
>> CampaignService
>> {Google.Api.Ads.AdWords.v201806.CampaignService}
>> Channel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> ChannelFactory: {System.ServiceModel.ChannelFactory(Of 
>> Google.Api.Ads.AdWords.v201806.ICampaignService)}
>> ClientCredentials: {System.ServiceModel.Description.ClientCredentials}
>> EnableDecompression: True
>> Endpoint: Address={
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService}
>> InnerChannel: {System.Runtime.Remoting.Proxies.__TransparentProxy}
>> Proxy: {System.Net.WebRequest.WebProxyWrapper}
>> RequestHeader: {https://adwords.google.com/api/adwords/cm/v201806";>
>>   Replace for security
>>   Replace for security
>>   
>> }
>> ResponseHeader: Nothing
>> Signature: {Google.Api.Ads.AdWords.Lib.AdWordsServiceSignature}
>> State: Created {0}
>> Timeout: 0
>> Url: "
>> https://adwords.google.com/api/adwords/cm/v201806/CampaignService";
>> User: {Google.Api.Ads.AdWords.Lib.AdWordsUser}
>> UserAgent: Nothing
>>
>> CampaignService.User.Config
>> {Google.Api.Ads.AdWords.Lib.AdWordsAppConfig}
>> AdWordsApiServer: "https://adwords.google.com";
>> ClientCustomerId: "Replace for security"
>> DeveloperToken: "Replace for security"
>> EnableGzipCompression: True
>> GMBLoginEmail: ""
>> GMBOAuth2RefreshToken: ""
>> IncludeUtilitiesInUserAgent: False
>> IncludeZeroImpressions: Nothing
>> MaskCredentials: True
>> MerchantCenterId: 0
>> OAuth2AccessToken: ""
>> OAuth2ClientId: "Replace for security"
>> OAuth2ClientSecret: "Replace for security"
>> OAuth2Mode: APPLICATION {0}
>> OAuth2PrivateKey: ""
>> OAuth2PrnEmail: ""
>> OAuth2RedirectUri: "Replace for security"
>> OAuth2RefreshToken: "Replace for security"
>> OAuth2Scope: "https://www.googleapis.com/auth/adwords";
>> OAuth2SecretsJsonPath: ""
>> OAuth2ServerUrl: "https://accounts.google.com";
>> OAuth2ServiceAccountEmail: Nothing
>> Proxy: Nothing
>> RetryCount: 0
>> Signature: "AwApi-DotNet/23.6.0, Common-Dotnet/9.4.0, .NET 
>> CLR/4.0.30319.42000, "
>> SkipColumnHeader: False
>> SkipReportHeader: False
>> SkipReportSummary: False
>> Timeout: 60
>> UnixTimestamp: 1534434608
>> UseRawEnumValues: Nothing
>> UserAgent: "Replace for security"
>>
>> selector
>> {Google.Api.Ads.AdWords.v201806.Selector}
>> dateRange: {Google.Api.Ads.AdWords.v201806.DateRange}
>> fields: {Length=7}
>> ordering: Nothing
>> paging: {LIMIT 0, 500}
>> predicates: Nothing
>> ?selector.fields
>> {Length=7}
>> (0): "Id"
>> (1): "Name"
>> (2): "Status"
>> (3): "StartDate"
>> (4): "EndDate"
>> (5): "BaseCampaignId"
>> (6): "AdvertisingChannelType"
>>
>> {"Failed to refresh access token. See inner exception for details."}
>> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean 
>> includeTaskCanceledExceptions)
>> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, 
>> CancellationToken cancellationToken) 
>> at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAccessTokenForAuthorizationCodeFlow()
>>   
>> at 
>> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>>
>> Error Occurred Message: Failed to retrieve campaign(s). Stack Trace:
>> at YSI.Ads.GoogleAdwordsHelper.GetListOfCampaigns(String during, DateTime 
>> startDate, DateTime endDate) in 
>> C:\TFS\Cafés\yCPC\Source\GoogleAdwords.vb:line 1711   at 
>> YSI.Cafe.RC.SiteManager.AdWordsAutomatedTasks.ImportAdwordsCampaigns() in 
>> C:\TFS\Cafés\RentCafe\Source\ManagerCafe\AppClasses\AdWordsAutomatedTasks.vb:line
>>  
>> 337   at RCDaily.AdwordsImportCampaignRoutine.ImportAdwordsCampaigns() in 
>> C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
>> 33   at RCDaily.AdwordsImportCampaignRoutine.OnExecute(IJobExecutionContext 
>> context) in 
>> C:\TFS\Cafés\RentCafe\Source\RCDaily\AdwordsImportCampaignsTasks.vb:line 
>> 27   at RCDaily.yJob.

Re: how to get available impressions number for ad group ?

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

If you wish to get the impressions 

 metrics 
in the AdWords API, this is only possible using reports. The Impressions 
metric is not supported in the AdWords API services.

Let me know if you have further clarifications.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 1:02:41 AM UTC+8, 
tahirhanyildizog...@gmail.com wrote:
>
> i want to get the number of available impressions for ad group. i added 
> some criteria to ad group and i want to get reach or available impressions. 
> Is it possible with adwords api python lib?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/bdcb6c59-819e-4c00-b734-49e0eda6d183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cost per Conversion and Conversion Rate calculations - API

2018-11-21 Thread olivier
Hello Dannison,


Thanks for the reply.

As a matter of fact, we do download the Campaign Performance Report to 
obtain the results :)

Basically, for technical reasons on our side (among other things, aggregate 
results from multiple Adwords accounts), we prefer (for some metrics, not 
all) to calculate using parts of a calculated metric. For example, get the 
Cost and the Conversions separately, then re-calculating them. 

In that specific case, we do not obtain the same results as the Adwords UI. 
If the Conversion Rate displayed in the UI is different from the calculated 
metric using its parts, how can we find the correct numbers to do the 
calculation, in the API?

Let me know :)

On Wednesday, November 21, 2018 at 2:07:00 PM UTC-5, Dannison Yao (AdWords 
API Team) wrote:
>
> Hi Olivier,
>
> It appears that you are using the Campaign Performance Report 
> .
>  
> You could download this by referring to our reporting guidelines 
>  or sample 
> codes 
>  (also 
> available in different languages) and compare the results to the UI. 
> However, since the AdWords API only reflects the results shown in the 
> Google Ads UI, you will not be able to see the differences. If you think 
> that there are data discrepancies in your report, you could open your 
> concern to the Advertiser's Community Forum 
> , 
> as the product experts are better equipped in answering your concerns.
>
> Regards,
> Dannison
> AdWords API Team
>
> On Thursday, November 22, 2018 at 12:14:43 AM UTC+8, oli...@dashthis.com 
>  wrote:
>>
>> Hello everyone!
>>
>> I am a member of the technical support of a reporting tool we provide to 
>> Google Ads advertisers.
>>
>> Recently, a case of "data discrepancy" have been uncovered and we still 
>> struggle to understand the calculations of the Cost/Conversions and the 
>> Conversion Rate metrics.
>> For technical reasons I won't go into, we usually make the Cost/Conv 
>> calculation on our side. However, one of our clients showed us its Google 
>> Ads UI with results for these metrics, and they do not match the 
>> calculation:
>>
>>
>> Cost/Conv = Cost / Conversions
>> Conversion Rate = Conversions / Clicks
>>
>> Here is a screenshot where you can see that:
>>
>> [image: adwordsquestion_discrepancy_costconv.png]
>>
>> As you can see, the calculation in the UI matches for some campaigns, but 
>> not all of them.
>>
>> How can that be?
>> From some research on the Web, it is already noted that some clicks 
>> and/or conversions can be wrongly tracked on some platforms or specific 
>> cases (e.g., old mobile platforms, etc).
>>
>> If anyone could explain that to me, that would be great :)
>>
>> Even better, if you can provide me with a way to report the exact numbers 
>> from the UI (through the API), that would be even better!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/aa57dba3-cbc9-4110-a287-58e8d451c04a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cost per Conversion and Conversion Rate calculations - API

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Olivier,

It appears that you are using the Campaign Performance Report 
.
 
You could download this by referring to our reporting guidelines 
 or sample 
codes 
 (also 
available in different languages) and compare the results to the UI. 
However, since the AdWords API only reflects the results shown in the 
Google Ads UI, you will not be able to see the differences. If you think 
that there are data discrepancies in your report, you could open your 
concern to the Advertiser's Community Forum 
, as 
the product experts are better equipped in answering your concerns.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 12:14:43 AM UTC+8, oliv...@dashthis.com 
wrote:
>
> Hello everyone!
>
> I am a member of the technical support of a reporting tool we provide to 
> Google Ads advertisers.
>
> Recently, a case of "data discrepancy" have been uncovered and we still 
> struggle to understand the calculations of the Cost/Conversions and the 
> Conversion Rate metrics.
> For technical reasons I won't go into, we usually make the Cost/Conv 
> calculation on our side. However, one of our clients showed us its Google 
> Ads UI with results for these metrics, and they do not match the 
> calculation:
>
>
> Cost/Conv = Cost / Conversions
> Conversion Rate = Conversions / Clicks
>
> Here is a screenshot where you can see that:
>
> [image: adwordsquestion_discrepancy_costconv.png]
>
> As you can see, the calculation in the UI matches for some campaigns, but 
> not all of them.
>
> How can that be?
> From some research on the Web, it is already noted that some clicks and/or 
> conversions can be wrongly tracked on some platforms or specific cases 
> (e.g., old mobile platforms, etc).
>
> If anyone could explain that to me, that would be great :)
>
> Even better, if you can provide me with a way to report the exact numbers 
> from the UI (through the API), that would be even better!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/8df56a6a-0f47-422c-a85e-0d91a2e40f8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why I get unexpected values from the KEYWORDS_PERFORMANCE_REPORT report

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Yang,

Glad you fixed the issue. Let me know if you have further clarifications 
with the AdWords API.

Regards,
Dannison
AdWords API Team

On Thursday, November 22, 2018 at 1:05:43 AM UTC+8, y...@pangeare.com wrote:
>
> Hi,
>
> I think I found the reason, I parsed the returned CSV incorrectly. Sorry
>
> Yang
>
> On Tuesday, November 20, 2018 at 4:53:13 PM UTC-6, Dannison Yao (AdWords 
> API Team) wrote:
>>
>> Hi Yang,
>>
>> Could you provide me the clientCustomerId you used so I could further 
>> check this? You may provide them to me using the *reply privately to 
>> author* option.
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>> On Wednesday, November 21, 2018 at 5:26:01 AM UTC+8, yl...@pangeare.com 
>> wrote:
>>>
>>> Hello All, 
>>>  
>>> New to google adwords, now I am trying to fetch the data from keyword 
>>> performance report. The following code is an example, based on the document 
>>> (
>>> https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report
>>>  
>>> ), I want to fetch some values from  attributes, segments and metrics 
>>> altogether
>>>
>>> report_downloader = client.GetReportDownloader(version='v201809')
>>> columns=['AccountCurrencyCode', 'AccountDescriptiveName', 'Date', 
>>> 'AbsoluteTopImpressionPercentage', 'SearchAbsoluteTopImpressionShare' ]
>>> str=','.join(columns)
>>> # Create report query. 
>>> report_query = (adwords.ReportQueryBuilder().Select( str).From(
>>> 'KEYWORDS_PERFORMANCE_REPORT').Where('CampaignStatus').In('ENABLED', 
>>> 'PAUSED').During('LAST_7_DAYS').Build())
>>>
>>> This report does return something, but the data returned is wired. 
>>>
>>>
>>> "USD""Pangea - Main""2018-11-18"   "0.00" " "
>>> "USD""Pangea - Main""0""0""0"
>>> "USD""Pangea - Main""0.00%""0""0"
>>> "USD""Pangea - Main""0""0"" "
>>> "USD""Pangea - Main""2018-11-19"   "0.00" " "
>>> "USD""Pangea - Main""0""0""0"
>>> "USD""Pangea - Main""0.00" "2018-11-16"   "0"
>>>
>>>
>>> The third column (date) should be a date type, but as you can see, it 
>>> has many wired data, same as the fourth and fifth column.
>>>
>>> Can I really mix these three section together in one report?
>>>
>>> Thank you
>>>
>>> Yang
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/443d686a-74b2-4636-91a1-49331084a94f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Label Operations

2018-11-21 Thread sam
Label operations must be mutated and can't be sent through batching, 
correct?

We're worried about hitting rate limits without sending these label 
operations through batching. What is the recommended solution for scaling 
large amounts of label operations without batching them?

Thanks!

-- 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/5afb03cd-75ff-46c8-a2c5-715417258f77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello, 

Our team is currently looking into this. I'll keep you posted on the 
updates. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c9e2fd6d-43c9-4d26-8c51-fd9798e71455%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managed Customers & the new Ads API Beta

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

Apologies for the inconvenience. Please find my updated response below:

Getting the managed customers via Google Ads API beta is not available at 
this point of time. I will let my team members know regarding the concern 
to make it available for the future releases. Meanwhile you could refer our 
blog  for 
upcoming features and future releases.

You should create separate request for each customer as the request headers 
will be pointing to one customer at a time. If your questions is different 
please elaborate.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, November 21, 2018 at 6:09:20 AM UTC-5, Vitaly Dukhota wrote:
>
> Hi, I have a question regarding managed customers please. Are they 
> currently supported in the new Google Ads API Beta? I couldn’t find 
> anything related in the reference – I suppose it’s not implemented yet?
>
> Also, is it possible to make cross-customer batch requests in the new 
> Google Ads API Beta? I am talking about the following scenario: an agency 
> manages thousands of customers; there is one master agency manager account, 
> which has many managed customer accounts. I need to adjust daily budget for 
> one managed customer, add a few keywords to another managed customer, 
> modify ad text for a third managed customer, etc - all via the API, of 
> course. Can I batch all those actions in one request or should I create a 
> separate request for each customer and, if there are multiple actions for 
> the customer, batch them all in the customer-specific request? This is not 
> a feature request, I don't mind doing it either way, I just need to 
> understand how to structure my requests.
>
> Thank you in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/2cbe69b2-4405-49aa-9598-602df624a433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace https://adwords.google.com/api/adwords/o/v201809.

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

The Criterion 

 of 
the TrafficEstimatorService 

 support 
only those Criterions you mentioned. It looks like you have posted the 
similar issue  on 
our GitHub Client Libraries. Looks like Mark is responding on the issue. 
Please follow up with him if the problem still persists. Let me know if you 
have any other questions.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, November 21, 2018 at 6:11:50 AM UTC-5, 
tahirhanyildizog...@gmail.com wrote:
>
> Hi, i am trying to add OperatingSystemVersion as criterion to 
> TrafficEstimatorSelector. But when i execute the code below, i get error.
>
> Code :
>
> # Create campaign estimate requests.
> campaign_estimate_requests = [{
> 'adGroupEstimateRequests': adgroup_estimate_requests,
> 'criteria': [
> {
> 'xsi_type': 'Location',
> 'id': '2840'  # United States.
> },
> {
> 'xsi_type': 'Language',
> 'id': '1019'  # Arabic.
> },
> {
> 'xsi_type': 'OperatingSystemVersion',
> 'id': '630336' # iOS 11 <=
> }
> ],
> }]
>
> # Create the selector.
> selector = {
> 'campaignEstimateRequests': campaign_estimate_requests,
> }
>
> # Optional: Request a list of campaign-level estimates segmented by
> # platform.
> selector['platformEstimateRequested'] = True
>
> # Get traffic estimates.
> estimates = traffic_estimator_service.get(selector)
>
>
> Output :
>
> zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace 
> https://adwords.google.com/api/adwords/o/v201809
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/a6e2c96e-8e32-478c-87dc-b70fdea75504%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Managed Customers & the new Ads API Beta

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

Getting the managed customers via Google Ads API beta is not available at 
this point of time. I will let my team members know regarding the concern 
to make it available for the future releases. Meanwhile you could refer our 
blog  for 
upcoming features and future releases.

You should create separate request for each customer as the request headers 
will be pointing to one customer at a time. Although, you could have 
various kinds of operations clubbed in a single request for a specific 
account. If you are looking forward to use batchJobService 
,
 
you could refer this guide 

 to 
know the batch job supported operations and code snippets. 

Please let me know if you have any further questions.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, November 21, 2018 at 6:09:20 AM UTC-5, Vitaly Dukhota wrote:
>
> Hi, I have a question regarding managed customers please. Are they 
> currently supported in the new Google Ads API Beta? I couldn’t find 
> anything related in the reference – I suppose it’s not implemented yet?
>
> Also, is it possible to make cross-customer batch requests in the new 
> Google Ads API Beta? I am talking about the following scenario: an agency 
> manages thousands of customers; there is one master agency manager account, 
> which has many managed customer accounts. I need to adjust daily budget for 
> one managed customer, add a few keywords to another managed customer, 
> modify ad text for a third managed customer, etc - all via the API, of 
> course. Can I batch all those actions in one request or should I create a 
> separate request for each customer and, if there are multiple actions for 
> the customer, batch them all in the customer-specific request? This is not 
> a feature request, I don't mind doing it either way, I just need to 
> understand how to structure my requests.
>
> Thank you in advance.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/6394d2b1-42fd-4c15-a869-400e6fd114c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How could I custom a daterange in this script?

2018-11-21 Thread yliu
report_downloader = client.GetReportDownloader(version='v201809')
 
# Create report query. 
report_query = (adwords.ReportQueryBuilder() 
  .Select('Id,Date')
  .From('KEYWORDS_PERFORMANCE_REPORT')
  .Where('CampaignStatus').In('ENABLED', 'PAUSED')
  .During('LAST_7_DAYS')
  .Build())
results=report_downloader.DownloadReportAsStringWithAwql( report_query, 
'CSV', skip_report_header=True, skip_column_header=True,skip_report_summary=
True, include_zero_impressions=True)

I am using this script to download keywords performance report, what should 
I do if I would like to download the last 3 months?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/20f3cf0a-ec37-490c-b7a7-13a61ddf046f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing required fields error with AdService

2018-11-21 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Markus,

To answer your question, yes, you are correct. As explained in the guide 

 I 
have provided, you could use the AdService.mutate() 

 to 
update expanded text ads provided that you include the id, headlinePart1, 
headlinePart2, and the description of the ad. Other attributes of the ad 
will retain as long as you did not include it in your fields to be updated.

Regards,
Dannison
AdWords API Team

On Wednesday, November 21, 2018 at 6:28:42 PM UTC+8, Markus Heiden wrote:
>
> Hi Dannison,
>
> I already read that guide (just the german version, because I found no 
> switch for the language) and there is no point about *updating* expanded 
> text ads, just the creation via the AdGroupAdService is mentioned.
>
> My concern is that there are no details about *updating* expanded text 
> ads via the *AdService* in the api documentation clearly stating which 
> fields are required and that the performance data of the ad are kept.
> According to your answer: Is it enough for an update via AdService.mutate 
> to pass the id, headlinePart1, headlinePart2, description plus the field 
> I want to change and the values of all other fields are kept?
>
> Regards,
> Markus
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9dc49508-796d-422a-8eec-90d7994f2ce2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Labels return empty in keywords performance report

2018-11-21 Thread yliu
report_downloader = client.GetReportDownloader(version='v201809')
 
# Create report query. 
report_query = (adwords.ReportQueryBuilder() 
  .Select('Labels')
  .From('KEYWORDS_PERFORMANCE_REPORT')
  .Where('CampaignStatus').In('ENABLED', 'PAUSED')
  .During('LAST_7_DAYS')
  .Build())
results=report_downloader.DownloadReportAsStringWithAwql( report_query, 
'CSV', skip_report_header=True, skip_column_header=True,skip_report_summary=
True, include_zero_impressions=True)

All other fields could return appropriate vales, except 'Labels', it only 
returns  '--'

Thanks

Yang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/840a640f-9992-402e-b9af-6d53cf94aa04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Entity not found -- INVALID_ID

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Kitija,

The EntityNotFound.INVALID_ID  error 
usually occurs when referencing the ID of an entity from a different 
account or referencing the ID of an entity that was removed. Changing the 
ClientID, ClientSecret, RefreshToken and ClientCustomerId will switch the 
account for sure. It looks like the AdGroup in the code belongs to other 
accounts and while switching to another account you are facing this issue. 
If the AdGroup ID is hard-coded, you could try to perform a get() operation 
via program instead and make sure correct AdGroup ID is passed for the 
account credentials used. If the problem persists please share the email 
ids of both the users that are authenticate the API call and the complete 
SOAP logs(request and response) of the failed operation without redacting 
any information. You could use reply privately to the author option while 
sharing the information requested.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, November 21, 2018 at 6:11:50 AM UTC-5, kitijacun...@gmail.com 
wrote:
>
> Hello,
>
> I'm trying to implement a switch between two Google Ads API accounts in 
> one project.
> The custom API code works as it should with the first account, but if I 
> switch out the 
>
>- ClientID, 
>- ClientSecret, 
>- RefreshToken
>- ClientCustomerId
>
> for the other account, and try to save a GroupAd, it throws an -- Entity 
> Not Found - Invalid_id -- error. 
> As seen in the error dump - The AdGroupId is set, but is also invalid, 
> which (from the documentation) lead me to believe that the ID belongs to a 
> different account (probably the first accounts). 
>
> Is there a way to get around this and make an automatic switch between two 
> (or more) API accounts for one project?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/5cb80ee7-ea8d-48b9-a4f9-fcae93167956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.USER_PERMISSION_DENIED for standard access account API

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello Sang,

To investigate further could you please share the SOAP logs(request and 
response) and the email address of the user authorizing the API call as 
requested earlier. You could use reply privately to the author option while 
sharing the details requested.

Regards,
Sai Teja, AdWords API Team.

On Tuesday, November 20, 2018 at 6:20:08 AM UTC-5, san...@anymindgroup.com 
wrote:
>
> Hello,
>
> We just encounter this issue yesterday, looks like something wrong with 
> GoogleAds api or refresh_token permissions.
>
> So we are working as a company with a hierachy Adwords accounts: Main 
> account => MCC account (for different countries) => single account.
> We are using both python/php googleads api for user authentication and 
> store refresh_token/access_token to build our in-house BI tools.
>
> Yesterday, we found any user with standard access to MCC account after 
> authentication (2 step verifcation completed), having an refresh_token that 
> not working. 
> Even when we try to generate refresh_token using Adwords OAuth2 
> Playground, the issue still the same.
>
> It is throwing this exception when we try to get list customer from 
> account:
>
> googleads.errors.GoogleAdsServerFault: 
> [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'']
>
> We use the same code as the example getting hierrachy account here: 
> https://developers.google.com/adwords/api/docs/samples/python/account-management
>
> Another note, this is working fine for users having access to top account 
> (the account that has access to all MCC account).
>
> Can you please check, or let me know if other details needed.
>
> Thanks,
> Sang
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/697099db-cffa-4531-bfe7-f7177ec919b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Why I get unexpected values from the KEYWORDS_PERFORMANCE_REPORT report

2018-11-21 Thread yliu
Hi,

I think I found the reason, I parsed the returned CSV incorrectly. Sorry

Yang

On Tuesday, November 20, 2018 at 4:53:13 PM UTC-6, Dannison Yao (AdWords 
API Team) wrote:
>
> Hi Yang,
>
> Could you provide me the clientCustomerId you used so I could further 
> check this? You may provide them to me using the *reply privately to 
> author* option.
>
> Regards,
> Dannison
> AdWords API Team
>
> On Wednesday, November 21, 2018 at 5:26:01 AM UTC+8, yl...@pangeare.com 
>  wrote:
>>
>> Hello All, 
>>  
>> New to google adwords, now I am trying to fetch the data from keyword 
>> performance report. The following code is an example, based on the document 
>> (
>> https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report
>>  
>> ), I want to fetch some values from  attributes, segments and metrics 
>> altogether
>>
>> report_downloader = client.GetReportDownloader(version='v201809')
>> columns=['AccountCurrencyCode', 'AccountDescriptiveName', 'Date', 
>> 'AbsoluteTopImpressionPercentage', 'SearchAbsoluteTopImpressionShare' ]
>> str=','.join(columns)
>> # Create report query. 
>> report_query = (adwords.ReportQueryBuilder().Select( str).From(
>> 'KEYWORDS_PERFORMANCE_REPORT').Where('CampaignStatus').In('ENABLED', 
>> 'PAUSED').During('LAST_7_DAYS').Build())
>>
>> This report does return something, but the data returned is wired. 
>>
>>
>> "USD""Pangea - Main""2018-11-18"   "0.00" " "
>> "USD""Pangea - Main""0""0""0"
>> "USD""Pangea - Main""0.00%""0""0"
>> "USD""Pangea - Main""0""0"" "
>> "USD""Pangea - Main""2018-11-19"   "0.00" " "
>> "USD""Pangea - Main""0""0""0"
>> "USD""Pangea - Main""0.00" "2018-11-16"   "0"
>>
>>
>> The third column (date) should be a date type, but as you can see, it has 
>> many wired data, same as the fourth and fifth column.
>>
>> Can I really mix these three section together in one report?
>>
>> Thank you
>>
>> Yang
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/3f05b87a-9876-48bb-9916-0791c7b2f9a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread obuquerasesquiades
It's happening the same for me. Always working well but since yesterday 
this error started to turn up :(

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/eaa118b2-47e9-4098-8b5a-f4c74a4b2b7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to get available impressions number for ad group ?

2018-11-21 Thread tahirhanyildizoglu2
i want to get the number of available impressions for ad group. i added 
some criteria to ad group and i want to get reach or available impressions. 
Is it possible with adwords api python lib?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4a2223ba-8989-45b9-88f4-37ba67726818%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: custom reports for negative keywords

2018-11-21 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Jeff, 

I'm afraid, generating a custom report which would return the list of 
negative keywords that caused an ad to appear is not possible through the 
API. However, you may use the Search Query Performance Report 

 which 
will return all statistics aggregated at the search terms level, one row 
per combination of search terms. Then you can compare the search queries 
from this report with the negative keywords on your campaigns. Then add 
those negative keywords that triggered the ad as the positive targeting 
criteria.

Let me know if you have any other questions. 

Regards,
Bharani, AdWords API Team

On Wednesday, November 21, 2018 at 6:11:18 AM UTC-5, Jeff Sedlik wrote:
>
> In the hands of a skilled developer, can the API be used to generate a 
> custom report that would provide a list of instances in which a negative 
> keyword caused an ad not to appear.  I am trying to optimize my negative 
> keywords, and need a list that pairs the search terms with the negative 
> keywords that caused the ad not to appear.
>
> Thanks
> Jeff
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/72e67caa-94e3-426c-aa2c-79ac95cd30d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Please tell me the method for the script adwords

2018-11-21 Thread 'Teja Makani' via AdWords API and Google Ads API Forum
Hello,

In this support channel we will discuss technical questions related to 
AdWords API. Looks like you have concerns related to Google Scripts 
. I would 
recommend you to post your question on their form. If you have any 
questions related to AdWords API, I am happy to help.

Regards,
Sai Teja, AdWords API Team.

On Wednesday, November 21, 2018 at 6:11:50 AM UTC-5, 
marketing.maxim.adwo...@gmail.com wrote:
>
> Good day, I write a script to optimize rates in Ads, I see methods for the 
> keyword:
>
>
> https://developers.google.com/google-ads/scripts/docs/reference/adwordsapp/adwordsapp_keyword
>
> With the "Estimated bid to show at the top of the page" 
> (getTopOfPageCpc()) and "Estimated bid for first page" (getFirstPageCpc()) 
> columns, everything is clear.
>
> I also have a column "Calculated rate for the first position" 
> (first_position_cpc), but there is no method to get data from it in the 
> documentation.
>
> Tell me how to address it, or to get its value?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/cf148f04-c25f-4696-a9c8-83f31a6da20c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CampaignService->get extremely slow (131 seconds)

2018-11-21 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Martijn, 

There are no issues currently that we are aware of. The PHP client library 
is on v38.0.0 with AdWords API v201809. It could be an intermittent issue. 
Could you try making the API call again and see if you're seeing the issue? 
Please share us the complete SOAP request and response logs along with the 
exact timestamp so I can take a look? You can refer to this guide 
 on how to enable 
logging for the PHP client library. Please share the details privately via 
Reply privately to author option. 

Thanks,
Bharani, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/abc41d5a-33c2-4c65-bf41-74d4f73bd894%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Campaign Service campaignUpdate throws ApiException when ShoppingSetting have merchantId set

2018-11-21 Thread Ronald Findling
When doing a campaign update requests (`mutate` with 
`CampaignOperator.SET`) which has shoppingSettings (with `merchantId`) we 
observe a `com.google.api.ads.adwords.axis.v201806.cm.ApiException` see [1]
In this request we set all mandatory properties (`merchantId`, 
`salesCountry`, `campaignPriority`)

Leaving out the merchantId however makes the request succeed, request and 
response see [2] [3].

I can't find documentation why these parameters shouldn't be set in this 
case:
mutate 
https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService
CampaignOperation SET 
https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.CampaignOperation
ShoppingSetting 
https://developers.google.com/adwords/api/docs/reference/v201802/CampaignService.ShoppingSetting

We are using com.google.api-ads:adwords-axis:3.15.1

[2]
2018-11-21 16:11:47 [INFO] c.g.a.a.a.l.c.A.soapXmlLogger SOAP request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

https://adwords.google.com/api/adwords/cm/v201806"; 
soapenv:mustUnderstand="0">
XXX
REDACTED
smeco (AwApi-Java, AdWords-Axis/3.15.1, 
Common-Java/3.15.1, Axis/1.4, Java/1.8.0_152, maven)
false
false



https://adwords.google.com/api/adwords/cm/v201806";>

SET

99
(AT:Whoop!) Indoor
https://adwords.google.com/api/adwords/cm/v201806"; 
xsi:type="ns2:ShoppingSetting">
XXX
AT
0







[3]
2018-11-21 16:11:47 [INFO] c.g.a.a.a.l.c.A.soapXmlLogger SOAP response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201806";>
00057b2e2b2a07410a373303cb0f5a91
CampaignService
mutate
1
269




soap:Server
[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

https://adwords.google.com/api/adwords/cm/v201806";>

[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

ApiException
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="InternalApiError">



InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
InternalApiError
UNEXPECTED_INTERNAL_API_ERROR








[1]
2018-11-21 16:11:47 [WARN] c.g.a.a.a.l.c.A.requestInfoLogger Request made: 
Service: CampaignService Method: mutate clientCustomerId: XXX URL: 
https://adwords.google.com/api/adwords/cm/v201806/CampaignService Request 
ID: 00057b2e2b2a07410a373303cb0f5a91 ResponseTime(ms): 269 OperationsCount: 
1 IsFault: true FaultMessage: 
ApiException{applicationExceptionType=ApiException, 
errors=[InternalApiError{apiErrorType=InternalApiError, 
errorString=InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, fieldPath=, 
reason=UNEXPECTED_INTERNAL_API_ERROR, trigger=}]}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c271f15a-bbf6-4d33-aee0-7859d15877e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Anna, 

Thanks for the quick response. I have shared the logs with the team. I'll 
keep you posted on the updates. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/c5ed62a4-2f06-49dc-b04f-9380fec4ab6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello All, 

To be able to troubleshoot on our end, could you please share the SOAP logs 
along with your CID from one of the requests that failed with this error? 
You could use reply privately to author while sharing the details. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/9d9582c4-5749-4b46-921f-767ae91b21f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread Philo
Same issue here (using the PHP SDK). We haven't made any modifications and 
starting yesterday we are experiencing the same issue.

On Wednesday, 21 November 2018 01:35:06 UTC+1, Stepanian wrote:
>
> Yesterday I started getting a DatabaseError.CONCURRENT_MODIFICATION error 
> for operations that are part of a tool that I have developed and used for 
> months. The tool creates an ad group and then (sequentially) adds criteria 
> to it. There are no multiple threads accessing the API at any given point 
> time. The error comes up at different parts of the process, so there is 
> really no pattern. In fact, in one case, it appeared in the first step the 
> tool was initially creating an ad group!
>
> Has anything changed as far as concurrent modification monitoring in the 
> API itself? Is this something that could be an issue that you may be 
> addressing?
>
> Any guidance would be helpful. Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/0a2ce8f7-5560-43f1-8512-7054e89ed2ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to trigger policy violation error?

2018-11-21 Thread tom . wagstaff
Thanks Sreelakshmi - that does the trick - exactly what I needed!

Cheers,
Tom

On Tuesday, 20 November 2018 19:37:20 UTC, Sreelakshmi Sasidharan (AdWords 
API Team) wrote:
>
> Hi Tom, 
>
> I was able to trigger a policy error while adding "combat knife" as a 
> keyword in my test account. This should trigger a 
> CriterionPolicyError.POLICY_ERROR 
> 
>  error. 
> Please give this a try a let me know if this is what you were looking for. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/cf84c016-61f3-4856-a4e1-2e8346a6cabd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace https://adwords.google.com/api/adwords/o/v201809.

2018-11-21 Thread tahirhanyildizoglu2
Campaign level only support : 


   1. Keyword 
   

   2. Language 
   

   3. Location 
   

   4. MobileAppCategory 
   

   5. MobileApplication 
   

   6. Placement 
   

   7. Platform 
   

   8. CriterionUserInterest 
   

   9. CriterionUserList 
   

   10. Vertical 
   



21 Kasım 2018 Çarşamba 14:11:50 UTC+3 tarihinde tahirhany...@gmail.com 
yazdı:
>
> Hi, i am trying to add OperatingSystemVersion as criterion to 
> TrafficEstimatorSelector. But when i execute the code below, i get error.
>
> Code :
>
> # Create campaign estimate requests.
> campaign_estimate_requests = [{
> 'adGroupEstimateRequests': adgroup_estimate_requests,
> 'criteria': [
> {
> 'xsi_type': 'Location',
> 'id': '2840'  # United States.
> },
> {
> 'xsi_type': 'Language',
> 'id': '1019'  # Arabic.
> },
> {
> 'xsi_type': 'OperatingSystemVersion',
> 'id': '630336' # iOS 11 <=
> }
> ],
> }]
>
> # Create the selector.
> selector = {
> 'campaignEstimateRequests': campaign_estimate_requests,
> }
>
> # Optional: Request a list of campaign-level estimates segmented by
> # platform.
> selector['platformEstimateRequested'] = True
>
> # Get traffic estimates.
> estimates = traffic_estimator_service.get(selector)
>
>
> Output :
>
> zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace 
> https://adwords.google.com/api/adwords/o/v201809
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/372940db-653f-4fe5-b25d-0c6e358dd54e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace https://adwords.google.com/api/adwords/o/v201809.

2018-11-21 Thread tahirhanyildizoglu2
Hi, i am trying to add OperatingSystemVersion as criterion to 
TrafficEstimatorSelector. But when i execute the code below, i get error.

Code :

# Create campaign estimate requests.
campaign_estimate_requests = [{
'adGroupEstimateRequests': adgroup_estimate_requests,
'criteria': [
{
'xsi_type': 'Location',
'id': '2840'  # United States.
},
{
'xsi_type': 'Language',
'id': '1019'  # Arabic.
},
{
'xsi_type': 'OperatingSystemVersion',
'id': '630336' # iOS 11 <=
}
],
}]

# Create the selector.
selector = {
'campaignEstimateRequests': campaign_estimate_requests,
}

# Optional: Request a list of campaign-level estimates segmented by
# platform.
selector['platformEstimateRequested'] = True

# Get traffic estimates.
estimates = traffic_estimator_service.get(selector)


Output :

zeep.exceptions.LookupError: No type 'OperatingSystemVersion' in namespace 
https://adwords.google.com/api/adwords/o/v201809



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/6a373f2b-bc32-4726-88b8-563017771971%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Please tell me the method for the script adwords

2018-11-21 Thread marketing . maxim . adwords
Good day, I write a script to optimize rates in Ads, I see methods for the 
keyword:

https://developers.google.com/google-ads/scripts/docs/reference/adwordsapp/adwordsapp_keyword

With the "Estimated bid to show at the top of the page" (getTopOfPageCpc()) 
and "Estimated bid for first page" (getFirstPageCpc()) columns, everything 
is clear.

I also have a column "Calculated rate for the first position" 
(first_position_cpc), but there is no method to get data from it in the 
documentation.

Tell me how to address it, or to get its value?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/31c47c0e-c3b3-4992-a2b7-412c8fb1bad8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


extremely slow response, 130 seconds

2018-11-21 Thread Martijn Scheffer

is this forum moderated ?

i can't find my original question, i had some extra information.

im making a get request with the CampaignService
like this:
$campaignService = $adWordsServices->get($session, CampaignService::class);

// Create selector.
$selector = new Selector();
$selector->setFields(['Id', 'Name']);
$selector->setOrdering([new OrderBy('Name', SortOrder::DESCENDING)]);
$selector->setPaging(new Paging(0, self::PAGE_LIMIT));
$page = $campaignService->get($selector);

this is the soap request:


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201802";>


123-123-1234
my token
unknown (AwApi-PHP, googleads-php-lib/36.0.0, 
PHP/7.1.23)
false
false





Id
Name

0
500







every attempts takes 130 seconds, everything worked fine until last sunday, 
i didn't make changes to the code, or campaigns

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/f7c68fba-132d-452e-bed2-7fbdb67ed235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CampaignService->get extremely slow (131 seconds)

2018-11-21 Thread Martijn Scheffer
sunday evening, without changing a line of code, my calls 
sot CampaignService->get suddenly became incredibly slow
i have just 6 campaigns, that werent changed either.
every request takes between 130 and 132 seconds, no exceptions.

this is the code (copied from googles sample code):
   $campaignService = $adWordsServices->get($session, 
CampaignService::class);
   $selector = new Selector();
   $selector->setFields(['Id', 'Name']);
   $selector->setOrdering([new OrderBy('Name', SortOrder::DESCENDING)]);
   $selector->setPaging(new Paging(0, self::PAGE_LIMIT));
   $page = $campaignService->get($selector);

there is nothing wrong with my server, requests to other web services 
return in less than 100 ms

i tried other accounts, some without any campaigns, same 130 second wait

the response is valid, on my main account i get 6 names and id's, probably 
around 1K of XML
i isolated the code, im doing nothing else, just the code above (with the 
standard loop for paging
(but, it stalls for 130 seconds in the call to "get" so the paging code is 
irrelevant.

was adwords updated, this week-end ? that would be unusual.
im using version 36.0.0 (i think, thats the highest number in the 
chanelog.md file)
or is it v201802 ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/11905c51-8a02-415d-9026-70902418a9c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Entity not found -- INVALID_ID

2018-11-21 Thread kitijacunami
Hello,

I'm trying to implement a switch between two Google Ads API accounts in one 
project.
The custom API code works as it should with the first account, but if I 
switch out the 

   - ClientID, 
   - ClientSecret, 
   - RefreshToken
   - ClientCustomerId

for the other account, and try to save a GroupAd, it throws an -- Entity 
Not Found - Invalid_id -- error. 
As seen in the error dump - The AdGroupId is set, but is also invalid, 
which (from the documentation) lead me to believe that the ID belongs to a 
different account (probably the first accounts). 

Is there a way to get around this and make an automatic switch between two 
(or more) API accounts for one project?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/147c6503-4974-45d1-8f04-ab2466b08470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


custom reports for negative keywords

2018-11-21 Thread Jeff Sedlik
In the hands of a skilled developer, can the API be used to generate a 
custom report that would provide a list of instances in which a negative 
keyword caused an ad not to appear.  I am trying to optimize my negative 
keywords, and need a list that pairs the search terms with the negative 
keywords that caused the ad not to appear.

Thanks
Jeff

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/d7cbc328-1e25-4172-bfe3-8bfcd9c433c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Managed Customers & the new Ads API Beta

2018-11-21 Thread Vitaly Dukhota
Hi, I have a question regarding managed customers please. Are they 
currently supported in the new Google Ads API Beta? I couldn’t find 
anything related in the reference – I suppose it’s not implemented yet?

Also, is it possible to make cross-customer batch requests in the new 
Google Ads API Beta? I am talking about the following scenario: an agency 
manages thousands of customers; there is one master agency manager account, 
which has many managed customer accounts. I need to adjust daily budget for 
one managed customer, add a few keywords to another managed customer, 
modify ad text for a third managed customer, etc - all via the API, of 
course. Can I batch all those actions in one request or should I create a 
separate request for each customer and, if there are multiple actions for 
the customer, batch them all in the customer-specific request? This is not 
a feature request, I don't mind doing it either way, I just need to 
understand how to structure my requests.

Thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/491115bd-a6b4-4f58-ba9c-122102af3092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


New Google Ads API beta and managed customers

2018-11-21 Thread Vitaly Dukhota
Hi, I have a question regarding managed customers please. Are they 
currently supported in the new Google Ads API Beta?

Also, is it possible to make cross-customer batch requests in the new 
Google Ads API Beta? I am talking about the following scenario: an agency 
manages thousands of customers; there is one master agency manager account, 
which has many managed customer accounts. I need to to adjust daily budget 
for one managed customer, add a few keywords to another managed customer, 
modify ad text for a third managed customer, etc - all via the API, of 
course. Can I batch all those actions in one request or should I create a 
separate request for each customer and, if there are multiple actions for 
the customer, batch them in the customer-specific request? This is not a 
feature request, I don't mind doing it either way, I just need to 
understand how to structure my requests.

Thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/a2a67821-f3e6-4409-a86e-b73a6aaabce9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Missing required fields error with AdService

2018-11-21 Thread Markus Heiden
Hi Dannison,

I already read that guide (just the german version, because I found no 
switch for the language) and there is no point about *updating* expanded 
text ads, just the creation via the AdGroupAdService is mentioned.

My concern is that there are no details about *updating* expanded text ads 
via the *AdService* in the api documentation clearly stating which fields 
are required and that the performance data of the ad are kept.
According to your answer: Is it enough for an update via AdService.mutate 
to pass the id, headlinePart1, headlinePart2, description plus the field I 
want to change and the values of all other fields are kept?

Regards,
Markus

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/763a994d-a4b7-4daf-a2f2-06e23caf1cbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread an . deangelis
This is happening also to my application. It was working in this last year 
very great, from today no h! 

Il giorno mercoledì 21 novembre 2018 10:29:26 UTC+1, rau...@adext.com ha 
scritto:
>
> Hello!,
>
> I have the same problem than Stepanian, yesterday I started to get the 
> same error "[DatabaseError.CONCURRENT_MODIFICATION @ 
> com.google.ads.api.services.campaignmgmt.common.error.DatabaseError.(Datab]
>  
> - Code : 50014" But the interesting thing is that the app was working 
> properly for the past 8 months. 
>
> could you help us plesae?
>
> Thnks in advanc 
>
> El martes, 20 de noviembre de 2018, 18:35:06 (UTC-6), Stepanian escribió:
>>
>> Yesterday I started getting a DatabaseError.CONCURRENT_MODIFICATION error 
>> for operations that are part of a tool that I have developed and used for 
>> months. The tool creates an ad group and then (sequentially) adds criteria 
>> to it. There are no multiple threads accessing the API at any given point 
>> time. The error comes up at different parts of the process, so there is 
>> really no pattern. In fact, in one case, it appeared in the first step the 
>> tool was initially creating an ad group!
>>
>> Has anything changed as far as concurrent modification monitoring in the 
>> API itself? Is this something that could be an issue that you may be 
>> addressing?
>>
>> Any guidance would be helpful. Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/96d5b97a-1c6e-4d30-97be-e7b36c8302f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Access to Billed Cost vs. Served Cost

2018-11-21 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

My apologies as billed cost is not yet supported in the AdWords API.

Thanks and regards,
Peter
AdWords API Team

On Wednesday, November 21, 2018 at 5:29:32 PM UTC+8, z...@wavo.me wrote:
>
> I also require access to 'billed cost' programmatically.
>
> On Friday, February 2, 2018 at 3:55:24 AM UTC-5, Peter Oliquino (AdWords 
> API Team) wrote:
>>
>> Hi Colin,
>>
>> We currently have no information if the billed cost will be included in 
>> the succeeding version of the AdWords API. You may follow our blog 
>>  for 
>> updates or announcements regarding if and when the actual billed cost field 
>> will be made available.
>>
>> Thanks and regards,
>> Peter
>> AdWords API Team
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/e47aa9ad-185c-4cf7-b348-28ab8597b079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread raul . p
Hello!,

I have the same problem than Stepanian, yesterday I started to get the same 
error "[DatabaseError.CONCURRENT_MODIFICATION @ 
com.google.ads.api.services.campaignmgmt.common.error.DatabaseError.(Datab]
 
- Code : 50014" But the interesting thing is that the app was working 
properly for the past 8 months. 

could you help us plesae?

Thnks in advanc 

El martes, 20 de noviembre de 2018, 18:35:06 (UTC-6), Stepanian escribió:
>
> Yesterday I started getting a DatabaseError.CONCURRENT_MODIFICATION error 
> for operations that are part of a tool that I have developed and used for 
> months. The tool creates an ad group and then (sequentially) adds criteria 
> to it. There are no multiple threads accessing the API at any given point 
> time. The error comes up at different parts of the process, so there is 
> really no pattern. In fact, in one case, it appeared in the first step the 
> tool was initially creating an ad group!
>
> Has anything changed as far as concurrent modification monitoring in the 
> API itself? Is this something that could be an issue that you may be 
> addressing?
>
> Any guidance would be helpful. Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/47d9124e-a313-46db-9cfb-dd64b092ccf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Access to Billed Cost vs. Served Cost

2018-11-21 Thread zain
I also require access to 'billed cost' programmatically.

On Friday, February 2, 2018 at 3:55:24 AM UTC-5, Peter Oliquino (AdWords 
API Team) wrote:
>
> Hi Colin,
>
> We currently have no information if the billed cost will be included in 
> the succeeding version of the AdWords API. You may follow our blog 
>  for 
> updates or announcements regarding if and when the actual billed cost field 
> will be made available.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/d22ee9dd-ec0e-4490-80ce-c1faf92e84b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread jesse young
Luis, 
 I work with Raffy. We are getting this error on adgroup creation in some 
cases. How is that possible? 

Thanks

On Tuesday, November 20, 2018 at 8:56:10 PM UTC-5, Luis Xander Talag 
(AdWords API Team) wrote:
>
> Hi Raffy,
>
> The DatabaseError.CONCURRENT_MODIFICATION 
> 
>  error 
> that you encountered could occur due to multiple processes that are trying 
> to update the same entity at the same time. It includes a user in the 
> AdWords web interface that is updating the entity while you are updating as 
> well via the API. Can you retry the request again and check if you're 
> still encountering the error? If so, please provide your clientCustomerId, 
> and complete SOAP request and response logs so I can further investigate 
> the issue on my end. You can send them via *Reply privately to author*.
>
> Thanks,
> Luis
> AdWords API Team
>
> On Wednesday, November 21, 2018 at 8:35:06 AM UTC+8, Stepanian wrote:
>>
>> Yesterday I started getting a DatabaseError.CONCURRENT_MODIFICATION error 
>> for operations that are part of a tool that I have developed and used for 
>> months. The tool creates an ad group and then (sequentially) adds criteria 
>> to it. There are no multiple threads accessing the API at any given point 
>> time. The error comes up at different parts of the process, so there is 
>> really no pattern. In fact, in one case, it appeared in the first step the 
>> tool was initially creating an ad group!
>>
>> Has anything changed as far as concurrent modification monitoring in the 
>> API itself? Is this something that could be an issue that you may be 
>> addressing?
>>
>> Any guidance would be helpful. Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/ef67d40d-9786-44ba-9adb-d499009f6cad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-11-21 Thread an . deangelis
Did u have any response?

Il giorno mercoledì 21 novembre 2018 01:35:06 UTC+1, Stepanian ha scritto:
>
> Yesterday I started getting a DatabaseError.CONCURRENT_MODIFICATION error 
> for operations that are part of a tool that I have developed and used for 
> months. The tool creates an ad group and then (sequentially) adds criteria 
> to it. There are no multiple threads accessing the API at any given point 
> time. The error comes up at different parts of the process, so there is 
> really no pattern. In fact, in one case, it appeared in the first step the 
> tool was initially creating an ad group!
>
> Has anything changed as far as concurrent modification monitoring in the 
> API itself? Is this something that could be an issue that you may be 
> addressing?
>
> Any guidance would be helpful. Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/87c0962d-3ed1-43df-a3b8-5bfe34b21368%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SelectorError.INVALID_FIELD_NAME @ selector; trigger:'GenderType'

2018-11-21 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

The SelectorError.INVALID_FIELD_NAME 

 error 
occurs because GenderType field is a field of Gender 

 criterion 
and this type of criterion can only be used for AdGroupCriterionService 

, CampaignCriterionService 
,
 
and ConstantDataService 
.
 
The LocationCriterionService 

 can 
only contain selectors under LocationCriterion 

 and Location 

. 

Best regards,
Peter
AdWords API Team

On Wednesday, November 21, 2018 at 2:11:14 PM UTC+8, 
tahirhanyildizog...@gmail.com wrote:
>
>
> Hi, i am trying to add different types of criterions to selector and get 
> the reach number according to that criterions. In below code i tried to add 
> gender type criterion to selector but i get error.
>
> Code 
>
>
> def get_reach(client, country_list, gender_list):
> # Initialize appropriate service.
> location_criterion_service = client.GetService(
> 'LocationCriterionService', version='v201809')
>
> # Create the selector.
> selector = {
> 'fields': ['Id', 'LocationName', 'DisplayType', 'GenderType', 
> 'CanonicalName', 'Reach', 'TargetingStatus'],
> 'predicates': [{
> 'field': 'LocationName',
> 'operator': 'EQUALS',
> 'values': country_list
> },{
> 'field': 'GenderType',
> 'operator': 'EQUALS',
> 'values': gender_list
> }]
> }
>
> # Make the get request.
> location_criteria = location_criterion_service.get(selector)
>
>
>
> Output
>
> googleads.errors.GoogleAdsServerFault: [SelectorError.INVALID_FIELD_NAME @ 
> selector; trigger:'GenderType', SelectorError.INVALID_PREDICATE_FIELD_NAME 
> @ selector; trigger:'GenderType']
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/8527a8a2-f9f8-42c8-9c87-e771cdccf4a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Failed to refresh access token: invalid_client

2018-11-21 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

Could you confirm if you are using the latest .Net client library 
? Could you try to 
generate again an OAuth2 credentials by following this guide 
?
 
Then, try making request again. If the issue persist, could you provide the 
complete logs so I could further investigate? 

Also, I would suggest to use Google Chrome using incognito mode to make 
sure that you are using the same email address in the whole process.

Thanks and regards,
Luis
AdWords API Team

On Wednesday, November 21, 2018 at 2:25:55 PM UTC+8, vibhesh wrote:
>
> I am also facing the same issue, i am using Dot client library and trying 
> get campaign using the console application. This code is working fine with 
> my test account then i have got approval for basic access of my developer 
> token to access production account campaign data
>
> generated following and replaced in my app.config
>
> OAuth2ClientId
> OAuth2ClientSecret
> OAuth2RefreshToken
>
> issue: when trying to get campaign then getting error given below
>
> Message :Failed to refresh access token
> innerexception : Error:"invalid_client", Description:"Unauthorized", Uri:""
> stacktrash: 
>
> Server stack trace: 
>at 
> Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessTokenInOfflineMode()
>at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.RefreshAccessToken()
>at Google.Api.Ads.Common.OAuth.AdsOAuthProviderImpl.GetAuthHeader()
>at 
> Google.Api.Ads.Common.OAuth.OAuthClientMessageInspector.BeforeSendRequest(Message&
>  
> request, IClientChannel channel)
>at 
> System.ServiceModel.Dispatcher.ImmutableClientRuntime.BeforeSendRequest(ProxyRpc&
>  
> rpc)
>at 
> System.ServiceModel.Channels.ServiceChannel.PrepareCall(ProxyOperationRuntime 
> operation, Boolean oneway, ProxyRpc& rpc)
>at System.ServiceModel.Channels.ServiceChannel.Call(String action, 
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] 
> outs, TimeSpan timeout)
>at 
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
>  
> methodCall, ProxyOperationRuntime operation)
>at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage 
> message)
>
> Exception rethrown at [0]: 
>at 
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage 
> reqMsg, IMessage retMsg)
>at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& 
> msgData, Int32 type)
>at Google.Api.Ads.AdWords.v201806.CampaignServiceInterface.get(Selector 
> serviceSelector)
>at Google.Api.Ads.AdWords.v201806.CampaignService.get(Selector 
> serviceSelector) in G:\AD Word 
> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\src\AdWords\v201806\AdWordsApi.cs:line
>  
> 39105
>at 
> Google.Api.Ads.AdWords.Examples.CSharp.v201806.GetCampaigns.Run(AdWordsUser 
> user) in G:\AD Word 
> Manager\googleads-dotnet-lib-master\googleads-dotnet-lib-master\GetCampaign\Program.cs:line
>  
> 93
>
>
>
> [image: Failed to refresh access token.png]
> Thanks in advance
>
>
> On Tuesday, December 29, 2015 at 3:59:09 AM UTC+5:30, Umesh Dengale wrote:
>>
>> Hello,
>>
>> Could you verify that you followed all steps given in the OAuth2.0 guide 
>>  for 
>> .NET library?  Please recreate the client id and client secret and generate 
>> refresh token using new client id and client secret key and update the 
>> web.config file. Please check out the OAuth2.0 guide 
>>  for 
>> .NET library for more details. If still issue is not resolved then provide 
>> the steps you followed and error message.
>>
>> Thanks,
>> Umesh, AdWords API Team.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/06a3d8a6-6e53-4367-b063-ee1349a5c24f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.