Re: API errors

2016-04-08 Thread dearaujoj
Hi Josh,

Thank you for your reply, I'll check with them.

Regards
josé

Le vendredi 8 avril 2016 18:29:12 UTC+2, Josh Radcliff (AdWords API Team) a 
écrit :
>
> Hi Jose,
>
> I haven't seen other users reporting this issue, so I suspect it has 
> something to do with your host/environment. Have you checked with your 
> system admin to see if there were any recent network config changes?
>
> Thanks,
> Josh, AdWords API Team
>
> On Thursday, April 7, 2016 at 10:41:01 AM UTC-4, Anthony Madrigal wrote:
>>
>> Hi Jose,
>>
>> Could you please *reply privately to author *me some of the error logs 
>> such as any SOAP request and responses you may have got? There are no 
>> issues on our side as far as I know.
>>
>> Thanks,
>> Anthony
>> AdWords API Team
>>
>

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

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


Re: "Ghost ads" not in UI

2016-04-08 Thread A G
Also disapproved are showing as enabled:

  string(7) "ENABLED"
  ["approvalStatus"]=>
  string(11) "DISAPPROVED"

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/63a42de1-55fc-4ff4-997c-299400f9fd7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


"Ghost ads" not in UI

2016-04-08 Thread A G
The Google API is pulling ads that don't exist anywhere in the UI. The only 
distinction is that the approval-status is "unchecked".

  ["status"]=>
  string(7) "ENABLED"
  ["approvalStatus"]=>
  string(9) "UNCHECKED"


What are they, and why is the Google API pulling them? Shouldn't they be 
considered DISABLED?

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/51ab918a-52ba-4045-a8cc-323a9f5cdfab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: customerService.mutate missing clientCustomerId

2016-04-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

Could you provide the SOAP request and response logs where this error 
occurred? Please click *Reply privately to author* when responding.

Thanks,
Shwetha, AdWords API Team.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9105a33c-e0fe-48a2-9381-5d887000bc65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


customerService.mutate missing clientCustomerId

2016-04-08 Thread OMCC
Hi,

Using the PHP library, the customerService.mutate call keeps returning 
CLIENT_CUSTOMER_ID_IS_REQUIRED - even though the clientCustomerId header 
field is set. This is verified by calling any other service that requires 
the clientCustomerId - for instance, adGroupAdService.get or reporting 
service, etc. - immediately before the request. The first request goes 
through successfully, while the second one returns the error mentioned 
above.

Looking in the soap logs, the clientCustomerId field is present in the 
header of the adGroupAdService request, but not in the 
customerService.mutate request. We are happy to share the relevant request 
IDs.

Adding the following line of code to the AdWordsSoapClient.php file just 
before the GenerateSoapHeader function returns solved the problem:
$headerObject->clientCustomerId = 
$this->GetAdsUser()->GetClientCustomerId();

However, we would love to see a cleaner solution.

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7a21f219-c38f-4f1f-9cb0-f2fe2435cd6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving data from API in UTC

2016-04-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

AdWords API reports follow the timezone of the account against which it is 
being run and does not support customization. If the account which is used 
to generate the reports is in EST timezone, then the report segmentation by 
date will be based on this timezone. 

I hope this helps.

Regards,
Shwetha, AdWords API Team.

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

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


Re: 5 Most Specific Location, with the higher number of clicks

2016-04-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hello,

You can query for MostSpecificCriteriaId, Clicks and Impressions from Geo 
Performance Report 

 with 
the predicate "IsTargetingLocation IN [true, false]". 
The MostSpecificCriteriaId gives the most specific Location criterion 
associated with the impression. You can use LocationCriterionService 

 to 
lookup the corresponding name and other information.

I hope this helps. 

Regards,
Shwetha, AdWords API Team.

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

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


Re: [6-6732000011220] Batch processing TextAds resulting in BatchJobProcessingError.FILE_FORMAT_ERROR

2016-04-08 Thread Alan Coleman
EEkk, bit of an oversight on my part. Do you need to reissue the developer
token? Is this a security risk?

Apologies!

Thanks

On Fri, Apr 8, 2016 at 5:39 PM,  wrote:

> Hi Alan,
>
> My colleague deleted your post to the Google Group because it contained
> your developer token. Per the forum posting rules
> ,
> please avoid posting sensitive info to the group.
>
> Regarding the issue you're seeing, I'm not a PHP expert, but is there some
> way to get it to log the operations it is uploading to the BatchJob.uploadUrl?
> That should help us identify which portion of the XML is malformed.
>
> Thanks,
> Josh, AdWords API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/08/16 06:51:50 boomfel...@gmail.com wrote:
>
> Hello everyone,
>
> I'm migrating from MutateJobService to BatchJobService and to get started
> am experimenting with a test account and a script derived
> from v201601\CampaignManagement\AddKeywordsUsingIncrementalBatchJob.php
>
> I can add batches of *Keywords* and *Negative Keywords* no problem.
>
> However when I attempt to add a batch of TextAds I'm being returned the
> following error, which would indicate an issue with the input file
> 
> .
>
> Processing error [0]: errorType=BatchJobProcessingError, trigger=,
> errorString=BatchJobProcessingError.FILE_FORMAT_ERROR, fieldPath=, reason=
> FILE_FORMAT_ERROR
>
> I'm building my TextAd in the usual fashion, see below, *but I don't know
> what I'm doing to disturb the file formatting*.
>
> Any help would be appreciated.
>
> Many thanks
>
>$textAd = new TextAd();
>$textAd->headline = 'Cruise #' . uniqid();
>$textAd->description1 = 'Visit the Red Planet in style.';
>$textAd->description2 = 'Low-gravity fun for everyone!';
>$textAd->displayUrl = 'www.example.com';
>$textAd->finalUrls = array('http://www.example.com');
>// Create ad group ad.
>$adGroupAd = new AdGroupAd();
>$adGroupAd->adGroupId = $adGroupId;
>$adGroupAd->ad = $textAd;
>// Set additional settings (optional).
>$adGroupAd->status = 'ENABLED';
>
> // Create AdGroupCriterionOperation.
> $operation = new AdGroupCriterionOperation();
> $operation->operand = $adGroupAd;
> $operation->operator = 'ADD';
>
> Here is the soap log:
>
> [Apr 08 2016 12:45:14.00 - INFO] POST
> /api/adwords/cm/v201601/BatchJobService HTTP/1.1
> Host: adwords.google.com
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.5.12
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 682
> Authorization: Bearer
> ya29..vgI82mE2oDDj7y-BTMRqJ7BObPQgr4Ij5LEEJSwT60gHzTyHIwRZAetY
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201601";>
>   
> 
>   4702283134
>   VoKD8l67LEE-vCKnep03Zg
>   FBT AdwordsLongtail Application (AwApi-PHP/8.2.1,
> Common-PHP/8.2.1, PHP/5.5.12)
>   true
> 
>   
>   
> 
>   
> ADD
> 
>   
> 
>   
> 
>
> HTTP/1.1 200 OK
> Content-Type: text/xml; charset=UTF-8
> Date: Fri, 08 Apr 2016 10:45:09 GMT
> Expires: Fri, 08 Apr 2016 10:45:09 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Server: GSE
> Accept-Ranges: none
> Vary: Accept-Encoding
> Transfer-Encoding: chunked
>
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201601";>
>   00052ff6e38ae4400a0dffc5a80b783f
>   BatchJobService
>   mutate
>   1
>   314
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201601";>
>   
> BatchJobReturnValue
> 
>   46829465
>   AWAITING_FILE
>   
> ***
> 20160415 104509 Etc/GMT
>   
>   1048682
> 
>   
> 
>   
> 
>
> [Apr 08 2016 12:45:36.00 - INFO] POST
> /api/adwords/cm/v201601/BatchJobService HTTP/1.1
> Host: adwords.google.com
> Connection: Keep-Alive
> User-Agent: PHP-SOAP/5.5.12
> Content-Type: text/xml; charset=utf-8
> SOAPAction: ""
> Content-Length: 925
> Authorization: Bearer
> ya29..vgI82mE2oDDj7y-BTMRqJ7BObPQgr4Ij5LEEJSwT60gHzTyHIwRZAetY
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201601";>
>   
> 
>   4702283134
>   VoKD8l67LEE-vCKnep03Zg
>   FBT AdwordsLongtail Application (AwApi-PHP/8.2.1,
> Common-PHP/8.2.1, PHP/5.5.12)
>   true
> 
>   
>   
> 
>   
> Id
> Status
> DownloadUrl
> ProcessingE

Re: An error has occurred: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'']

2016-04-08 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

You are getting this error because the ClientCustomerId is not set. You can 
set clientCustomerId in your auth.ini 

 file, or 
you can set this at the runtime 
.
 If 
you want to retrieve your client customer ids under an MCC at runtime, see 
GetAccountHierarchy.php 

.

Regards,
Shwetha,
AdWords API Team.

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

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


Re: API errors

2016-04-08 Thread 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
Hi Jose,

I haven't seen other users reporting this issue, so I suspect it has 
something to do with your host/environment. Have you checked with your 
system admin to see if there were any recent network config changes?

Thanks,
Josh, AdWords API Team

On Thursday, April 7, 2016 at 10:41:01 AM UTC-4, Anthony Madrigal wrote:
>
> Hi Jose,
>
> Could you please *reply privately to author *me some of the error logs 
> such as any SOAP request and responses you may have got? There are no 
> issues on our side as far as I know.
>
> Thanks,
> Anthony
> AdWords API Team
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/15156d2a-983c-46d9-9b62-7a97739a0845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adgroup CpaBid ignores API updates in TARGET_CPA campaigns?

2016-04-08 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello Petter,

The feature is that you can override the the CPA bid at the ad group level 
is not available in earlier versions of the API. You'll need to upgrade to 
*v201603* announced here 
.
 
When you migrate to that version of the API, you'll be able to set that ad 
group CPA bid. 

Thanks,
Nadine, AdWords API Team

On Friday, April 8, 2016 at 3:56:55 AM UTC-4, Petter wrote:
>
> Hi Nadine,
>
> We use the .Net client libraries with the API version 201509 and also 
> encountered similar problems . 
>
> Please share information if there is any workaround.
>
> Thanks.
>
> On Wednesday, March 16, 2016 at 10:17:27 PM UTC+7, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Hi Denis,
>>
>> Thanks for the clarification. It's good to know it's not necessarily any 
>> one service. That narrows it down a bit for me. Yes, I would really 
>> appreciate it it you could send the list of operations and corresponding 
>> responses. Please just click *Reply privately to author* in the forum 
>> when you're sending it to me.
>>
>> Thanks,
>> Nadine, AdWords API Team 
>>
>> On Wednesday, March 16, 2016 at 9:30:48 AM UTC-4, Denis wrote:
>>>
>>> Hi Nadine,
>>>
>>> Thanks for your response. We tried it with "MutateJobService" - to no 
>>> avail. And in the response of bot MutateJobService and BatchJobService I 
>>> can see that the CpaBid was not updated (the old bid is still in place) 
>>> while both services don't throw any sort of exception. Also, when 
>>> confirming in the AdWords UI, no update to the Adgroup CpaBid was carried 
>>> out. 
>>>
>>> If you like, I can send you a list of operations that were sent 
>>> to BatchJobService and the corresponding response that we got from 
>>> BatchJobService to check for yourself.
>>>
>>> Thanks,
>>> Denis
>>>
>>> On Tuesday, 15 March 2016 22:13:27 UTC+1, Nadine Sundquist (AdWords API 
>>> Team) wrote:

 Hi Denis,

 I have a few follow-up questions to make sure I've fully understood the 
 issue:

- Is this issue specifically only happening for BatchJobService, or 
is this related to other services?
- When you say ignored, does it mean that when you do a get() that 
the CpaBid is not there, or is it that when you download the results 
 from 
the BatchJobService that the bid is not there?

 Best,
 Nadine, AdWords API Team

 On Tuesday, March 15, 2016 at 2:43:08 PM UTC-4, Denis wrote:
>
> Hi,
>
> We are in the process of setting target cpa bids per adgroup 
> automatically via the API. However, we have experienced issues with 
> setting 
> the CpaBid for adgroups in an account that has the new 
> biddingStrategyType "TARGET_CPA" in place (instead of the trusted, 
> but similarly behaving "CONVERSION_OPTIMIZER"). If we run CpaBid updates 
> in 
> accounts that have "ConverionOptimizer" activated they are accepted. When 
> trying to send the same type of operation to campaigns with "Target_CPA" 
> it 
> is simply ignored. Repsonse by BatchJobService for this is positive, 
> though, never mind that nothing was changed. 
>
> We use the Python client libraries with the latest API version 
> (201601). Below is an example operation we use to update adgroup cpa bids:
>
>
> [{'operand': {'biddingStrategyConfiguration': {'bids': [{'bid': 
> {'microAmount': '865'},
>  'xsi_type': 
> 'CpaBid'}]},
>   'campaignId': '335749875',
>   'id': '25962600555',
>   'xsi_type': 'AdGroup'},
>   'operator': 'SET',
>   'xsi_type': 'AdGroupOperation'}]
>
> Anyone know whether this is an issue with the API or if I'm missing 
> something?
>
> Thanks,
>
> Denis
>


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

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

An error has occurred: [AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'']

2016-04-08 Thread WebMaster LocalWeb
i get this error "An error has occurred: 
[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'']" 
while running GetCampaigns.php in v201603

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

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


Retrieving data from API in UTC

2016-04-08 Thread bhimley
Hey, I'm using the API to retrieve numbers from both 
the SEARCH_QUERY_PERFORMANCE_REPORT and the KEYWORDS_PERFORMANCE_REPORT, 
which I add to a table in my database.  These reports have data aggregated 
by date, but not by time, and which date they fall upon is determined by 
the EST timezone.

My problem is that my database has many other tables with data from many 
other sources, all of which use UTC to determine the days.  Is there a way 
I can retrieve data in UTC instead of EST?

Thanks for your patience,
Benny


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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3d36e1a9-7ca0-4bed-94c9-428d79e95d69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Batch processing TextAds resulting in BatchJobProcessingError.FILE_FORMAT_ERROR

2016-04-08 Thread Alan Coleman
Hello everyone,

I'm migrating from MutateJobService to BatchJobService and to get started 
am experimenting with a test account and a script derived 
from v201601\CampaignManagement\AddKeywordsUsingIncrementalBatchJob.php

I can add batches of *Keywords* and *Negative Keywords* no problem.

However when I attempt to add a batch of TextAds I'm being returned the 
following error, which would indicate an issue with the input file 

.

Processing error [0]: errorType=BatchJobProcessingError, trigger=, 
errorString=BatchJobProcessingError.FILE_FORMAT_ERROR, fieldPath=, reason=
FILE_FORMAT_ERROR

I'm building my TextAd in the usual fashion, see below, *but I don't know 
what I'm doing to disturb the file formatting*.

Any help would be appreciated.

Many thanks

   $textAd = new TextAd();
   $textAd->headline = 'Cruise #' . uniqid();
   $textAd->description1 = 'Visit the Red Planet in style.';
   $textAd->description2 = 'Low-gravity fun for everyone!';
   $textAd->displayUrl = 'www.example.com';
   $textAd->finalUrls = array('http://www.example.com');
   // Create ad group ad.
   $adGroupAd = new AdGroupAd();
   $adGroupAd->adGroupId = $adGroupId;
   $adGroupAd->ad = $textAd;
   // Set additional settings (optional).
   $adGroupAd->status = 'ENABLED';

// Create AdGroupCriterionOperation.
$operation = new AdGroupCriterionOperation();
$operation->operand = $adGroupAd;
$operation->operator = 'ADD';

Here is the soap log:

[Apr 08 2016 12:45:14.00 - INFO] POST 
/api/adwords/cm/v201601/BatchJobService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.5.12
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 682
Authorization: Bearer 
ya29..vgI82mE2oDDj7y-BTMRqJ7BObPQgr4Ij5LEEJSwT60gHzTyHIwRZAetY


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

  4702283134
  VoKD8l67LEE-vCKnep03Zg
  FBT AdwordsLongtail Application (AwApi-PHP/8.2.1, 
Common-PHP/8.2.1, PHP/5.5.12)
  true

  
  

  
ADD

  

  


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Fri, 08 Apr 2016 10:45:09 GMT
Expires: Fri, 08 Apr 2016 10:45:09 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Accept-Ranges: none
Vary: Accept-Encoding
Transfer-Encoding: chunked


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201601";>
  00052ff6e38ae4400a0dffc5a80b783f
  BatchJobService
  mutate
  1
  314

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

  46829465
  AWAITING_FILE
  
***
20160415 104509 Etc/GMT
  
  1048682

  

  


[Apr 08 2016 12:45:36.00 - INFO] POST 
/api/adwords/cm/v201601/BatchJobService HTTP/1.1
Host: adwords.google.com
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.5.12
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 925
Authorization: Bearer 
ya29..vgI82mE2oDDj7y-BTMRqJ7BObPQgr4Ij5LEEJSwT60gHzTyHIwRZAetY


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

  4702283134
  VoKD8l67LEE-vCKnep03Zg
  FBT AdwordsLongtail Application (AwApi-PHP/8.2.1, 
Common-PHP/8.2.1, PHP/5.5.12)
  true

  
  

  
Id
Status
DownloadUrl
ProcessingErrors
ProgressStats

  Id
  EQUALS
  46829465

  

  


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Fri, 08 Apr 2016 10:45:31 GMT
Expires: Fri, 08 Apr 2016 10:45:31 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Accept-Ranges: none
Vary: Accept-Encoding
Transfer-Encoding: chunked


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201601";>
  00052ff6e4d025e00ac154b23b0b48f0
  BatchJobService
  get
  1
  357

  
  
https://adwords.google.com/api/adwords/cm/v201601";>
  
1
BatchJobPage

  46829465
  CANCELED
  
0
0
0
0
  
  
***
20160508 104515 Etc/GMT
  
  



BatchJobProcessingError.FILE_FORMAT_ERROR
BatchJobProcessingError
FILE_FORMAT_ERROR
  

  

  





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

Re: 5 Most Specific Location, with the higher number of clicks

2016-04-08 Thread W Berry
Let me rephrase my question: for an account I want to get the clicks by 
most specific location at campaign level. What do I need to use to get the 
information form number three below.






On Thursday, April 7, 2016 at 6:33:00 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> HI,
>
> Could you run the Geo Performance Report using the predicate 
> "IsTargetingLocation 
> IN [true,false]"? By default, this report only includes rows where 
> "IsTargetingLocation 
> = true".
>
> If the data from the API doesn't match the result shown in the MCC, then 
> please provide me *privately* the clientCustomerId for Geo Performance 
> Report and the report request definition, and I'll take a look at what's 
> going wrong. Just click *Reply privately to author* in the forum when 
> responding.
>
> Thanks,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/57a55053-9dbe-4ad5-b860-220f6b5e1e33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adgroup CpaBid ignores API updates in TARGET_CPA campaigns?

2016-04-08 Thread Petter
Hi Nadine,

We use the .Net client libraries with the API version 201509 and also 
encountered similar problems . 

Please share information if there is any workaround.

Thanks.

On Wednesday, March 16, 2016 at 10:17:27 PM UTC+7, Nadine Sundquist 
(AdWords API Team) wrote:
>
> Hi Denis,
>
> Thanks for the clarification. It's good to know it's not necessarily any 
> one service. That narrows it down a bit for me. Yes, I would really 
> appreciate it it you could send the list of operations and corresponding 
> responses. Please just click *Reply privately to author* in the forum 
> when you're sending it to me.
>
> Thanks,
> Nadine, AdWords API Team 
>
> On Wednesday, March 16, 2016 at 9:30:48 AM UTC-4, Denis wrote:
>>
>> Hi Nadine,
>>
>> Thanks for your response. We tried it with "MutateJobService" - to no 
>> avail. And in the response of bot MutateJobService and BatchJobService I 
>> can see that the CpaBid was not updated (the old bid is still in place) 
>> while both services don't throw any sort of exception. Also, when 
>> confirming in the AdWords UI, no update to the Adgroup CpaBid was carried 
>> out. 
>>
>> If you like, I can send you a list of operations that were sent 
>> to BatchJobService and the corresponding response that we got from 
>> BatchJobService to check for yourself.
>>
>> Thanks,
>> Denis
>>
>> On Tuesday, 15 March 2016 22:13:27 UTC+1, Nadine Sundquist (AdWords API 
>> Team) wrote:
>>>
>>> Hi Denis,
>>>
>>> I have a few follow-up questions to make sure I've fully understood the 
>>> issue:
>>>
>>>- Is this issue specifically only happening for BatchJobService, or 
>>>is this related to other services?
>>>- When you say ignored, does it mean that when you do a get() that 
>>>the CpaBid is not there, or is it that when you download the results 
>>> from 
>>>the BatchJobService that the bid is not there?
>>>
>>> Best,
>>> Nadine, AdWords API Team
>>>
>>> On Tuesday, March 15, 2016 at 2:43:08 PM UTC-4, Denis wrote:

 Hi,

 We are in the process of setting target cpa bids per adgroup 
 automatically via the API. However, we have experienced issues with 
 setting 
 the CpaBid for adgroups in an account that has the new 
 biddingStrategyType "TARGET_CPA" in place (instead of the trusted, but 
 similarly behaving "CONVERSION_OPTIMIZER"). If we run CpaBid updates in 
 accounts that have "ConverionOptimizer" activated they are accepted. When 
 trying to send the same type of operation to campaigns with "Target_CPA" 
 it 
 is simply ignored. Repsonse by BatchJobService for this is positive, 
 though, never mind that nothing was changed. 

 We use the Python client libraries with the latest API version 
 (201601). Below is an example operation we use to update adgroup cpa bids:


 [{'operand': {'biddingStrategyConfiguration': {'bids': [{'bid': 
 {'microAmount': '865'},
  'xsi_type': 
 'CpaBid'}]},
   'campaignId': '335749875',
   'id': '25962600555',
   'xsi_type': 'AdGroup'},
   'operator': 'SET',
   'xsi_type': 'AdGroupOperation'}]

 Anyone know whether this is an issue with the API or if I'm missing 
 something?

 Thanks,

 Denis

>>>

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

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