Basic Access for Google Ads API

2023-11-27 Thread Wesley Ferreira
Hi, 

I've been filling out the form to request basic access for weeks, but I 
haven't received a response. I contacted the Ads API Compliance team, but I 
haven't received a response yet.
We are not getting any feedback from you from any location.
We are developing software for publishing campaigns on Google Ads for large 
retailers.
Can you help me!?

MCC 241-355-4854
Access level: Basic Access

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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a01514cf-4ae5-492d-a593-6038f364b61bn%40googlegroups.com.


Re: Retrieving Correct Click Data for Non-Search Campaigns (YouTube Video Ads)

2021-12-10 Thread Wesley
Please read my question, it's not about the definition of interactions, 
it's about why I'm getting results that indicate I got many clicks when in 
reality I only got 1 click from that location on that day.

Thanks.

On Thursday, December 9, 2021 at 7:27:02 PM UTC+1 adsapi wrote:

> Hi there,
>
> Here's a product support  
> page that explains what interactions are for Youtube 
> .
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2SdGq9:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8ac728ce-e11d-49f0-8c95-277749b4cc91n%40googlegroups.com.


Upload Click Conversions using Manager account

2021-11-16 Thread Wesley van Opdorp
Hello,

I'm having some trouble trying to upload click conversions using the api.

The error I'm receiving is:
*This customer does not have an import conversion action that matches the 
conversion action provided*

Let me provide me some context as how we've come to receive this error.

Our account structure:

   - Manager
  - Sub Manager
 - Account 1
 - Account 2
  
Some notes:

   - We use the *Manager* accounts id as *customerId.*
   - The import from clicks conversion action is configured under the 
   *Manager.*
   - For testing purposes we've generated a *gclid* from a campaign that 
   does not use cross account actions.

*Authentication and client setup*
The $loginCustomerId corresponds with the Manager id formatted to int.
---
$oAuth2Credential = (new 
\Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder())->from($configuration)->build();
$googleAdsClient = (new GoogleAdsClientBuilder())
  ->withOAuth2Credential($oAuth2Credential)
  ->withDeveloperToken($developerToken)
  ->withLoginCustomerId($loginCustomerId)
  ->build()
;

*Retrieving the action through the api*
Because of the error I made an attempt to fetch the action through the api 
to make sure that we're using the correct customerId and actionId.
---


*$action = 
$googleAdsClient->getConversionActionServiceClient()->getConversionAction(ResourceNames::forConversionAction($loginCustomerId,
 
$actionId));echo $action->getOwnerCustomer(); // Same as 
$loginCustomerIdecho $action->getId(); // Same as $actionId*

*Uploading click conversion*
The following snippet attempts to upload the conversion. The 
$loginCustomerId and $actionId haven't changed from the snippets above.

*---*







*$clickConversion = new ClickConversion([ 'gclid' => 'Generated gclid 
from Account 1', 'conversion_action' => 
ResourceNames::forConversionAction($loginCustomerId, $actionId), 
'conversion_value' => 0.01, 'conversion_date_time' => (new 
\DateTime())->format('Y-m-d H:i:sP'), 'currency_code' => 'EUR',]);*

*$uploadClient = 
$googleAdsClient->getConversionUploadServiceClient();$response = 
$uploadClient->uploadClickConversions($loginCustomerId, [$clickConversion], 
true);*

The documentation 

 
has a lot of criteria that must be in place for this in order to work and 
I've been trying to make sense of them all. I'm just going to duplicate 
them here, and write down my comments.

   - The ConversionActionType is UPLOAD_CLICKS 
   

   .
  - $action->getType() returns 7 === UPLOAD_CLICKS.
   - The status 
   

 of 
   the ConversionAction is ENABLED.
  - It's enabled in the UI dashboard.
   - The ConversionAction exists in the effective conversion account of the 
   click's Google Ads account.
  - This one has me doubting - the click comes from a account that does 
  not have cross-account conversions enabled, but is still using it's own 
  conversion goals pulled from Google Analytics.
   - At the *time of the click*, conversion tracking was enabled in the 
effective 
   conversion account 
   

 of 
   the click's Google Ads account.
  - I'm not sure what this means - help?
   - Starting with v8 of the Google Ads API, the customer_id of the 
   UploadClickConversionsRequest 
   

 must 
   be the customer ID of the owner_customer of each click conversion's 
   conversion_action 
   

   .
  - The action's owner is the same as our $loginCustomerId.
   
I'm having the idea that the account from which the click originated needs 
to have cross account tracking configured for this to work properly? Could 
someone please confirm this that this is a problem?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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...@g

Re: Adwords API returns Sitelinks errors for other objects

2019-07-22 Thread Wesley Bowman
Hi Adrian,

That seems to be a different issue than what I am trying to get solved 
here. 

On Friday, July 19, 2019 at 3:34:38 PM UTC+2, Adrian Lara wrote:
>
> Hi, check this is for new API: 
> https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!topic/adwords-api/5DcE3Tb8Sck
>
> On Friday, July 19, 2019 at 9:01:32 AM UTC-3, Wesley Bowman wrote:
>>
>> This is *still* a problem for us. Is there any news? 
>>
>> On Friday, June 7, 2019 at 10:53:22 PM UTC+2, adsapiforumadvisor wrote:
>>>
>>> Hi Wesley,
>>>
>>> I've pulled the relevant logs and asked the relevant teams to take a 
>>> look. I'll keep you posted.
>>>
>>> Cheers
>>> Anash
>>>
>>> ref:_00D1U1174p._5001UBlPtt:ref
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/45b179fa-1c71-4877-9d5f-4c653c03b9eb%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-07-19 Thread Wesley Bowman
This is *still* a problem for us. Is there any news? 

On Friday, June 7, 2019 at 10:53:22 PM UTC+2, adsapiforumadvisor wrote:
>
> Hi Wesley,
>
> I've pulled the relevant logs and asked the relevant teams to take a look. 
> I'll keep you posted.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/31a11739-2085-4032-953f-aca57d9a3821%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-06-24 Thread Wesley Bowman
Still no news? It has been quite some time since I have had any update on 
this post. 

On Friday, June 7, 2019 at 10:53:22 PM UTC+2, adsapiforumadvisor wrote:
>
> Hi Wesley,
>
> I've pulled the relevant logs and asked the relevant teams to take a look. 
> I'll keep you posted.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/378522e6-0a31-4871-a042-cfc6db4a4645%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-06-14 Thread Wesley Bowman
Hi Anash,

Any news?

On Friday, June 7, 2019 at 10:53:22 PM UTC+2, adsapiforumadvisor wrote:
>
> Hi Wesley,
>
> I've pulled the relevant logs and asked the relevant teams to take a look. 
> I'll keep you posted.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c4c87139-c573-4c8b-9371-f43771f7a93b%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-06-06 Thread Wesley Bowman
44:16,776 - googleads.soap - DEBUG] Outgoing request: {
'SOAPAction': '""', 'Content-Type': 'text/xml; charset=utf-8', 
'authorization': 'REDACTED'}
http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201809";>
  2740564982
  REDACTED
  channable (AwApi-Python, googleads/18.1.0, Python/3.6.7
)
  false
  true

  
  
https://adwords.google.com/api/adwords/cm/v201809";>
  
ADD
AdGroupAdOperation

  68069102381
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns0:ExpandedTextAd">
-2
https://channable.com
ExpandedTextAd
h1
h2
h3
d1
d2


  
  ENABLED

  

  


[2019-06-07 07:44:17,167 - googleads.adwords.batch_job_helper - INFO] 
Request summary: {'server': 
'https://batch-job-upload-prod-ebe9b43.storage.googleapis.com/311377146/1501998529.operations.xml?GoogleAccessId=926043054183-rbu1gkdushnqrfcf47gser4u8qse2...@developer.gserviceaccount.com&Expires=1560491054&Signature=n%2Fwk7W%2BUEs73lc3ne2YEmQDw1U8wlUHkHzPMj%2F6RRaiEHJ8AUSpPcuW9rY%2FjyFoYELxOlMGcyrLR8cwzNI%2BLL4AsOKCN01VnQe7V1NGD0axVhyY596%2FFNfqY2bW5xmivb9G7DrI7lO0MeuscmgiocDLKtiaahubfc2c%2FN%2B9Ah7w1Blq%2FyTB0xvI%2F1tA4Opx%2BvZjP7uPgwslq%2Fn1lMq2qodsi9FUO9fiHI2cFjKzdL8j28%2BV8iYgoRgT8hHzglubDX31hiiMHYfrR9odhmq%2BThYnziojPcCSE6uZrSkGBVoAyfQoAeL9ksz0MGj3VfRGaiglwF%2BAz9H0fTt5WFT7Dbw%3D%3D&upload_id=AEnB2UpoohtYaOJsVCr53yx3yBbyyPH6MvqNwmFlz-Sq7Djj7fDNwNlIWE7B5H4zhFtDxzQ6nv8g8gQQxNKl7d1iuquUcWbroBDV-YP5XHdFikuhLH6vNuA',
 
'contentRange': 'bytes 0-262143/262144', 'contentLength': 262144, 
'isError': False}



Hopefully this is now enough information. You can see from these logs that 
we do indeed have partial failures on:
  true

Let me know if I can provide you with anything else.



On Thursday, June 6, 2019 at 5:13:58 PM UTC+2, adsapiforumadvisor wrote:
>
> Hello Wesley,
>
> I see that you are performing AdGroupExtensionSettingOperation 
> and AdGroupAdOperation which should be performed with 2 different services 
> AdGroupExtensionSettingService and AdGroupAdService. In such two API calls 
> should be done.
>
> In my testing I tried to add 2 operations with two extension settings and 
> I was able to add one operation while the operation is internally kept too 
> long. Since I enabled partial failures to true I was able to perform one 
> operation successfully and the other operation failed. To get more clarity 
> on your API request. I require the SOAP logs of the failed operations. You 
> can enable logging by following the logging section in the Readme.md file 
> in the client library 
> <https://developers.google.com/adwords/api/docs/clientlibraries> of your 
> choice. 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/67437499-4418-4f8e-9839-5c52bc96bf50%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-06-05 Thread Wesley Bowman
Hi Sai,

We indeed have partial failures enabled.
I haven't seen this issues with any other types of errors, only for 
sitelinks (i.e. if I have 2 ad operations and one is a failure, then I only 
get one error while the other succeeds)

On Wednesday, June 5, 2019 at 10:24:54 PM UTC+2, adsapiforumadvisor wrote:
>
> Hello Wesley,
>
> Could you please confirm whether the partialFailure 
> <https://developers.google.com/adwords/api/docs/guides/partial-failure> field 
> is enabled for your API call?  If not it is expected that the correct 
> operation will also be failed due to the other erroneous operations. Please 
> enable Partial Failures in your API call to let correct AdGroupAd operation 
> to succeed. Let me know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/82db2cc8-1132-4a1f-a3af-5bb5212bf167%40googlegroups.com.


Re: Adwords API returns Sitelinks errors for other objects

2019-06-05 Thread Wesley Bowman
Hello Sai,

The point here is that in the batch job I am trying to create an *invalid 
sitelink*, but a *valid* *ad*. 
If I send both of these objects in the same batch job, then the *ad* *also 
gets the sitelink error*, even though that operation has nothing to do with 
the sitelink. I can comfirm this because if I send the ad in a batch job on 
its own, then I can successfully create the ad.

Do you know why this might be happening? 

Also note that in this case I am purposefully sending an invalid sitelink 
to replicate this issue.  

On Tuesday, June 4, 2019 at 10:29:01 PM UTC+2, adsapiforumadvisor wrote:
>
> Hello Wesley,
>
> As specified here 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignExtensionSettingService.SitelinkFeedItem#sitelinktext>,
>  
> the sitelinkText should be between 1 and 25, inclusive and sitelinkLine2 
> should be between 0 and 35, inclusive. In your code both fields are 
> exceeding those limits hence you are facing the error. Please correct them 
> and give it a try. 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UBlPtt:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c75157d2-1a1d-431b-8275-ea31d71dbea9%40googlegroups.com.


Adwords API returns Sitelinks errors for other objects

2019-06-04 Thread Wesley Bowman
I am sending a batch job through the Adwords API with the following 
operations:

[
{
'operand': {
'adGroupId': 68069102381,
'extensionType': 'SITELINK',
'extensionSetting': {
'extensions': [
{
'xsi_type': 'SitelinkFeedItem',
'sitelinkText': '008642-74-86 really long field to 
make all the things fail',
'sitelinkLine2': '008642-74-86 really long field to 
make all the things fail',
'sitelinkLine3': 'stuff',
'sitelinkFinalUrls': {'urls': [
'https://channable.com']},
}
]
},
},
'operator': 'ADD',
'xsi_type': 'AdGroupExtensionSettingOperation',
},
{
'operand': {
'ad': {
'id': -2,
'path1': '',
'path2': '',
'xsi_type': 'ExpandedTextAd',
'finalUrls': 'https://channable.com',
'description': 'd1',
'description2': 'd2',
'headlinePart1': 'h1',
'headlinePart2': 'h2',
'headlinePart3': 'h3',
},
'status': 'ENABLED',
'xsi_type': 'AdGroupAd',
'adGroupId': 68069102381,
},
'operator': 'ADD',
'xsi_type': 'AdGroupAdOperation',
},
]

The batch job id I got for this was:
148306

This batch job's results were the following:

[OrderedDict([('errorList',
   OrderedDict([('errors',
 [OrderedDict([('@xmlns:xsi',

'http://www.w3.org/2001/XMLSchema-instance'),
   ('@xsi:type', 'StringLengthError'
),
   ('fieldPath',

'operations[0].operand.extensionSetting.extensions[0].sitelinkText'),
   ('fieldPathElements',
[OrderedDict([('field',
   'operations'),
  ('index', '0')]),
 OrderedDict([('field',
   'operand')]),
 OrderedDict([('field',
   
'extensionSetting')]),
 OrderedDict([('field',
   'extensions'),
  ('index', '0')]),
 OrderedDict([('field',
   'sitelinkText'
)])]),
   ('trigger', None),
   ('errorString',
'StringLengthError.TOO_LONG'),
   ('ApiError.Type',
'StringLengthError'),
   ('reason', 'TOO_LONG')]),
  OrderedDict([('@xmlns:xsi',

'http://www.w3.org/2001/XMLSchema-instance'),
   ('@xsi:type', 'StringLengthError'
),
   ('fieldPath',

'operations[0].operand.extensionSetting.extensions[0].sitelinkLine2'),
   ('fieldPathElements',
[OrderedDict([('field',
   'operations'),
  ('index', '0')]),
 OrderedDict([('field',
   'operand')]),
 OrderedDict([('field',
   
'extensionSetting')]),
 OrderedDict([('field',
   'extensions'),
  ('index', '0')]),
 OrderedDict([('field',
   'sitelinkLine2'
)])]),
   ('trigger', None),
   ('errorString',
'StringLengthError.TOO_LONG'),
   ('ApiError.Type',
  

Re: Google Ads API: MutateJobService Code Examples

2019-05-13 Thread Wesley Bowman
Is there any sort of estimation on when this feature will be released? 

When I went to the workshop, we asked about this feature then (March 26), 
and we were told it would potentially be released in 2-3 weeks. It's now 
been a quite a bit longer than that, and this is the feature we need to 
continue with our migration from the old API to the new. 

This is holding up our entire process :/


On Friday, May 10, 2019 at 11:16:14 PM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hello,
>
> As of now we are not accepting the whitelisting for the batch-job 
> services, It's still in testing phase. 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b91742a-4c4f-4d60-ac3c-4b97e09baf21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adwords API usage data

2018-11-15 Thread Wesley Parker
Hello, does Google have any data on API usage vs performance, I would be 
really interested in data that shows a comparison of market share by 
advertisers using the API vs non API users. Or average market share gained 
when advertisers use the API.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/830c9f1e-a0b0-4b65-a4c1-45566fc701ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdGroupCriterionService returns different results using the same selector

2018-10-18 Thread wesley
>From our private conversation, 
 

> ... can you include the parentCriterionId 
> <https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201809-AdGroupCriterionService>
>  
> field in the selector and see whether the requests are still failing? Since 
> the fields are not included in the request, they are not guaranteed in the 
> response. Could you please give it a try and let me know if the problem 
> persists.
>

I tried this, and that indeed fixed the consistency issues we were having. 
Thank you for your assistance. Cannot believe I missed that. I do still 
find it a bit strange that this just started being a problem recently, but 
again, thanks!


 

On Wednesday, October 17, 2018 at 9:39:59 PM UTC+2, Teja Makani wrote:
>
> Hello Wesley,
>
> I ran the PRODUCT_PARTITION_REPORT 
> <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report>
>  
> and able to see AdGroupId 
> <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report#adgroupid>
>  
> and ParentCriterionId 
> <https://developers.google.com/adwords/api/docs/appendix/reports/product-partition-report#parentcriterionid>
>  
> matching. Could please confirm whether the problem persists quite often? If 
> yes, could you please share the SOAP logs(request and response) without 
> redacting any information? You could follow the instructions shown here 
> <https://github.com/googleads/googleads-python-lib#how-do-i-log-soap-interactions>
>  
> to enable SOAP logging for Python client library. You could use reply 
> privately to the author option while sharing the details requested.
>
> Regards,
> Sai Teja, AdWords API Team.
>
> On Wednesday, October 17, 2018 at 8:45:30 AM UTC-4, wes...@channable.com 
> wrote:
>>
>> To whom it may concern:
>>
>> As of October 16, 2018 at around 18.00, we've been experiencing some 
>> issues when using the python API. I have spent today looking into the 
>> issue, but I found something strange. I made a small example so that I 
>> could share the problem with you.
>>
>> I have the following code:
>>
>> service = client.GetService('AdGroupCriterionService', version='v201809')
>>
>> adgroup_adwords_id = 41434232302
>>
>> selector = {
>> 'fields': [
>> 'Id',
>> 'CpcBid',
>> 'BaseAdGroupId',
>> 'CriteriaType',
>> 'PartitionType',
>> 'CaseValue'
>> ],
>> 'predicates': [
>> {
>> 'field': 'AdGroupId',
>> 'operator': 'IN',
>> 'values': [adgroup_adwords_id]
>> },
>> {
>> 'field': 'CriteriaType',
>> 'operator': 'EQUALS',
>> 'values': 'PRODUCT_PARTITION'
>> },
>> {
>> 'field': 'Status',
>> 'operator': 'NOT_EQUALS',
>> 'values': 'REMOVED'
>> }
>> ]
>> }
>>
>> result = service.get(selector)
>>
>>
>>
>> I am trying to query Google Ads to find all the Adgroup Criterions for a 
>> Shopping Campaign. When I run the above code, it results in different 
>> responses when I call it multiple times, i.e.
>>
>> # First run
>> {
>> 'adgroup_id': 41434232302,
>> 'criterion_use': 'BIDDABLE',
>> 'criterion': {
>> 'id': 318749511508,
>> 'type': 'PRODUCT_PARTITION',
>> 'Criterion.Type': 'ProductPartition',
>> 'partitionType': 'UNIT',
>> 'parentCriterionId': 293946777986,
>> 'caseValue': {
>> 'ProductDimension.Type': 'ProductOfferId',
>> 'value': 'fbeni618004'
>> }
>> }
>> }
>>
>> # A later run
>> {
>> 'adgroup_id': 41434232302,
>> 'criterion_use': 'BIDDABLE',
>> 'criterion': {
>> 'id': 318749511508,
>> 'type': 'PRODUCT_PARTITION',
>> 'Criterion.Type': 'ProductPartition',
>> 'partitionType': '

AdGroupCriterionService returns different results using the same selector

2018-10-17 Thread wesley
To whom it may concern:

As of October 16, 2018 at around 18.00, we've been experiencing some issues 
when using the python API. I have spent today looking into the issue, but I 
found something strange. I made a small example so that I could share the 
problem with you.

I have the following code:

service = client.GetService('AdGroupCriterionService', version='v201809')

adgroup_adwords_id = 41434232302

selector = {
'fields': [
'Id',
'CpcBid',
'BaseAdGroupId',
'CriteriaType',
'PartitionType',
'CaseValue'
],
'predicates': [
{
'field': 'AdGroupId',
'operator': 'IN',
'values': [adgroup_adwords_id]
},
{
'field': 'CriteriaType',
'operator': 'EQUALS',
'values': 'PRODUCT_PARTITION'
},
{
'field': 'Status',
'operator': 'NOT_EQUALS',
'values': 'REMOVED'
}
]
}

result = service.get(selector)



I am trying to query Google Ads to find all the Adgroup Criterions for a 
Shopping Campaign. When I run the above code, it results in different 
responses when I call it multiple times, i.e.

# First run
{
'adgroup_id': 41434232302,
'criterion_use': 'BIDDABLE',
'criterion': {
'id': 318749511508,
'type': 'PRODUCT_PARTITION',
'Criterion.Type': 'ProductPartition',
'partitionType': 'UNIT',
'parentCriterionId': 293946777986,
'caseValue': {
'ProductDimension.Type': 'ProductOfferId',
'value': 'fbeni618004'
}
}
}

# A later run
{
'adgroup_id': 41434232302,
'criterion_use': 'BIDDABLE',
'criterion': {
'id': 318749511508,
'type': 'PRODUCT_PARTITION',
'Criterion.Type': 'ProductPartition',
'partitionType': 'UNIT',
'parentCriterionId': None,
'caseValue': {
'ProductDimension.Type': 'ProductOfferId',
'value': 'fbeni618004'
}
}
}



The `parentCriterionId` changes from a value to a `None`. On Google Ads, 
nothing has changed about this criterion:





Could you share some insight into what is going on? We've been running this 
code for quite some time, so we were a bit surprised when we all of a 
sudden got errors for this.

We are using `v201809` of the API and version 14.1.0 of the `googleads` 
Python library

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a06b0c15-7fa5-47e2-ae24-d4cd8ce3639f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService not returning downloadUrl

2018-09-06 Thread wesley
Hello Michael,

I just had the same problem where I get a `downloadUrl`, but when we try to 
call that URL, we get an invalid status code.

This happened for the following batch job ids:

| batch_job_id |
| - |
| 787630151 |
| 787630490 |
| 797647414 |
| 802682768 |


On Thursday, June 21, 2018 at 7:58:17 PM UTC+2, Michael Cloonan (AdWords 
API Team) wrote:
>
> Hello,
>
> We have regenerated the download URL for that batch job.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, June 21, 2018 at 7:49:57 AM UTC-4, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> I apologize for the delayed turnaround here. I am following up with the 
>> team to try to find a long-term solution. I think that's the same ID that 
>> you had shared previously, so I will try to get that download URL 
>> regenerated for you.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Thursday, June 21, 2018 at 7:06:27 AM UTC-4, wes...@channable.com 
>>  wrote:
>>>
>>>
>>> Hi all,
>>>
>>> I also found another batch job today that has no `downloadUrl`
>>> batch job id: 759856332
>>>
>>> On Thursday, June 21, 2018 at 9:03:11 AM UTC+2, wes...@channable.com 
>>> wrote:
>>>>
>>>> Hi all, 
>>>>
>>>> Was just checking back in to see if there was any new news, since the 
>>>> thread hasn't been updated in over a week.
>>>>
>>>> Cheers,
>>>> Wesley
>>>>
>>>> On Tuesday, June 12, 2018 at 2:20:54 PM UTC+2, Michael Cloonan (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Thanks for the report, we are working hard to identify the underlying 
>>>>> issue here, and I will let you know if we regenerate the download URL for 
>>>>> that batch job ID, or if I have any other information to share regarding 
>>>>> the previous ones you mentioned.
>>>>>
>>>>> Regards,
>>>>> Mike, AdWords API Team
>>>>>
>>>>> On Tuesday, June 12, 2018 at 5:42:31 AM UTC-4, wes...@channable.com 
>>>>> wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I have just ran into the issue of having no `dowloadUrl` again for 
>>>>>> batch job id 759856332
>>>>>>
>>>>>>
>>>>>> On Thursday, June 7, 2018 at 5:28:34 PM UTC+2, Michael Cloonan 
>>>>>> (AdWords API Team) wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> We're still investigating these last few. I have followed up with 
>>>>>>> the team to see if they have any information they can share, which I 
>>>>>>> will 
>>>>>>> pass along here when possible.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike, AdWords API Team
>>>>>>>
>>>>>>> On Thursday, June 7, 2018 at 9:06:55 AM UTC-4, wes...@channable.com 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi Michael,
>>>>>>>>
>>>>>>>> Any news? I have customers waiting to here from me about this.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Wesley
>>>>>>>>
>>>>>>>> On Tuesday, June 5, 2018 at 1:57:46 PM UTC+2, Michael Cloonan 
>>>>>>>> (AdWords API Team) wrote:
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> Yes, when the job is done there should always be a downloadUrl 
>>>>>>>>> available so you can fetch the results. I'll pass these IDs along to 
>>>>>>>>> the 
>>>>>>>>> team.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Mike, AdWords API Team
>>>>>>>>>
>>>>>>>>> On Tuesday, June 5, 2018 at 4:17:19 AM UTC-4, wes...@channable.com 
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> I am having this issue (with the same result as what I sent in 
>>>>>>>>>> the private message) with at least the followin

Re: How to target only Android OperatingSystemVersion python

2018-08-23 Thread wesley
Also looking at the ConstantDataService 
(https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms),
 
I can't seem to find criterion ids for BlackBerry or WebOS but I still see 
them in the adwords UI. Are these options still configurable?

Thanks,

On Thursday, August 23, 2018 at 3:15:11 PM UTC-7, wes...@system1.com wrote:
>
> Hi Bharani,
>
> Thank you for your response. You mentioned that it is currently not 
> possible to exclude the criteria through the API but you also posted an 
> example to remove the criteria. Is excluding and removing not the same 
> thing? Could I just remove OperaringSystemVersion criteria for all versions 
> of iOS?
>
> Thanks,
>
> On Thursday, August 23, 2018 at 12:50:46 PM UTC-7, Bharani Cherukuri 
> (AdWords API Team) wrote:
>>
>> Hello Wesley, 
>>
>> You will be able to only target the OperatingSystemVersion using the 
>> CampaignCriterionService 
>> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService>
>>  by 
>> selecting the Criteria as OperatingSystemVersion 
>> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService.OperatingSystemVersion>.
>>  
>> It is currently not possible to exclude this criteria through the API. 
>> Also, please note that this is only targetable for Display campaigns. 
>> Targeting for other campaigns or excluding this might result in an error. 
>> You may refer to the operating system versions from here 
>> <https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms>
>>  and 
>> also take a look at the Criteria Usage 
>> <https://developers.google.com/adwords/api/docs/appendix/criteria-usage> 
>> table 
>> as a reference. To remove the OperatingSystemVersion campaign criteria, 
>> please find the SOAP request below:
>>
>> https://adwords.google.com/api/adwords/cm/v201806";> 
>>  
>> REMOVE 
>>  
>>  
>> https://adwords.google.com/api/adwords/cm/v201806"; 
>> xsi:type="ns2:OperatingSystemVersion"> 
>> 630161 
>>  
>>  
>> 
>>
>> If you continue to have an issue with this, could you please share the 
>> complete API SOAP logs, so I can take a look. 
>>
>> Regards,
>> Bharani, AdWords API Team
>>
>> On Thursday, August 23, 2018 at 5:08:44 AM UTC-4, wes...@system1.com 
>> wrote:
>>>
>>> Hello,
>>>
>>> How can I exclude all versions of iOS in my campaign without explicitly 
>>> removing every criterionID for an iOS version. My operation looks something 
>>> like this:
>>>
>>> {
>>> 'xsi_type': 'CampaignCriterionOperation',
>>> 'operator': 'REMOVE',
>>> 'operand': {
>>> 'xsi_type': 'CampaignCriterion',
>>> 'campaignId': campaign_id,
>>> 'criterion': {
>>> 'xsi_type': 'OperatingSystemVersion',
>>> 'id': 630161,
>>> 'name': 'iOS',
>>> 'osMajorVersion': 2,
>>> 'osMinorVersion': 0,
>>> 'operatorType': 'GREATER_THAN_EQUAL_TO'
>>> }
>>> }
>>> }
>>>
>>> but I can't the following error:
>>>
>>> NewEntityCreationError.TEMP_IDS_NOT_ALLOWED
>>>
>>> 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/2266ffa2-3314-442c-b083-3538841a6a6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to target only Android OperatingSystemVersion python

2018-08-23 Thread wesley
Hi Bharani,

Thank you for your response. You mentioned that it is currently not 
possible to exclude the criteria through the API but you also posted an 
example to remove the criteria. Is excluding and removing not the same 
thing? Could I just remove OperaringSystemVersion criteria for all versions 
of iOS?

Thanks,

On Thursday, August 23, 2018 at 12:50:46 PM UTC-7, Bharani Cherukuri 
(AdWords API Team) wrote:
>
> Hello Wesley, 
>
> You will be able to only target the OperatingSystemVersion using the 
> CampaignCriterionService 
> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService>
>  by 
> selecting the Criteria as OperatingSystemVersion 
> <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignCriterionService.OperatingSystemVersion>.
>  
> It is currently not possible to exclude this criteria through the API. 
> Also, please note that this is only targetable for Display campaigns. 
> Targeting for other campaigns or excluding this might result in an error. 
> You may refer to the operating system versions from here 
> <https://developers.google.com/adwords/api/docs/appendix/codes-formats#mobile-platforms>
>  and 
> also take a look at the Criteria Usage 
> <https://developers.google.com/adwords/api/docs/appendix/criteria-usage> 
> table 
> as a reference. To remove the OperatingSystemVersion campaign criteria, 
> please find the SOAP request below:
>
> https://adwords.google.com/api/adwords/cm/v201806";> 
>  
> REMOVE 
>  
>  
> https://adwords.google.com/api/adwords/cm/v201806"; 
> xsi:type="ns2:OperatingSystemVersion"> 
> 630161 
>  
>  
> 
>
> If you continue to have an issue with this, could you please share the 
> complete API SOAP logs, so I can take a look. 
>
> Regards,
> Bharani, AdWords API Team
>
> On Thursday, August 23, 2018 at 5:08:44 AM UTC-4, wes...@system1.com 
>  wrote:
>>
>> Hello,
>>
>> How can I exclude all versions of iOS in my campaign without explicitly 
>> removing every criterionID for an iOS version. My operation looks something 
>> like this:
>>
>> {
>> 'xsi_type': 'CampaignCriterionOperation',
>> 'operator': 'REMOVE',
>> 'operand': {
>> 'xsi_type': 'CampaignCriterion',
>> 'campaignId': campaign_id,
>> 'criterion': {
>> 'xsi_type': 'OperatingSystemVersion',
>> 'id': 630161,
>> 'name': 'iOS',
>> 'osMajorVersion': 2,
>> 'osMinorVersion': 0,
>> 'operatorType': 'GREATER_THAN_EQUAL_TO'
>> }
>> }
>> }
>>
>> but I can't the following error:
>>
>> NewEntityCreationError.TEMP_IDS_NOT_ALLOWED
>>
>> 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/78bcb65f-1447-486a-a310-fbc1e5e2c800%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to target only Android OperatingSystemVersion python

2018-08-23 Thread wesley
Hello,

How can I exclude all versions of iOS in my campaign without explicitly 
removing every criterionID for an iOS version. My operation looks something 
like this:

{
'xsi_type': 'CampaignCriterionOperation',
'operator': 'REMOVE',
'operand': {
'xsi_type': 'CampaignCriterion',
'campaignId': campaign_id,
'criterion': {
'xsi_type': 'OperatingSystemVersion',
'id': 630161,
'name': 'iOS',
'osMajorVersion': 2,
'osMinorVersion': 0,
'operatorType': 'GREATER_THAN_EQUAL_TO'
}
}
}

but I can't the following error:

NewEntityCreationError.TEMP_IDS_NOT_ALLOWED

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/ed615571-b389-4ca4-bc13-04f87a73cb07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService not returning downloadUrl

2018-06-21 Thread wesley

Hi all,

I also found another batch job today that has no `downloadUrl`
batch job id: 759856332

On Thursday, June 21, 2018 at 9:03:11 AM UTC+2, wes...@channable.com wrote:
>
> Hi all, 
>
> Was just checking back in to see if there was any new news, since the 
> thread hasn't been updated in over a week.
>
> Cheers,
> Wesley
>
> On Tuesday, June 12, 2018 at 2:20:54 PM UTC+2, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> Thanks for the report, we are working hard to identify the underlying 
>> issue here, and I will let you know if we regenerate the download URL for 
>> that batch job ID, or if I have any other information to share regarding 
>> the previous ones you mentioned.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Tuesday, June 12, 2018 at 5:42:31 AM UTC-4, wes...@channable.com 
>> wrote:
>>>
>>> Hello,
>>>
>>> I have just ran into the issue of having no `dowloadUrl` again for batch 
>>> job id 759856332
>>>
>>>
>>> On Thursday, June 7, 2018 at 5:28:34 PM UTC+2, Michael Cloonan (AdWords 
>>> API Team) wrote:
>>>>
>>>> Hello,
>>>>
>>>> We're still investigating these last few. I have followed up with the 
>>>> team to see if they have any information they can share, which I will pass 
>>>> along here when possible.
>>>>
>>>> Regards,
>>>> Mike, AdWords API Team
>>>>
>>>> On Thursday, June 7, 2018 at 9:06:55 AM UTC-4, wes...@channable.com 
>>>> wrote:
>>>>>
>>>>> Hi Michael,
>>>>>
>>>>> Any news? I have customers waiting to here from me about this.
>>>>>
>>>>> Thanks,
>>>>> Wesley
>>>>>
>>>>> On Tuesday, June 5, 2018 at 1:57:46 PM UTC+2, Michael Cloonan (AdWords 
>>>>> API Team) wrote:
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> Yes, when the job is done there should always be a downloadUrl 
>>>>>> available so you can fetch the results. I'll pass these IDs along to the 
>>>>>> team.
>>>>>>
>>>>>> Regards,
>>>>>> Mike, AdWords API Team
>>>>>>
>>>>>> On Tuesday, June 5, 2018 at 4:17:19 AM UTC-4, wes...@channable.com 
>>>>>> wrote:
>>>>>>>
>>>>>>> I am having this issue (with the same result as what I sent in the 
>>>>>>> private message) with at least the following 3 batch_job_ids:
>>>>>>> 744483651
>>>>>>> 744483600
>>>>>>> 745226632
>>>>>>>
>>>>>>> That is all I can find in the error logs, so it should just be these 
>>>>>>> 3.
>>>>>>>
>>>>>>> Also, should we always expect to have a `downloadUrl` from now on? 
>>>>>>> If we don't have one, should I just raise the issue here again?  
>>>>>>>
>>>>>>> On Monday, June 4, 2018 at 2:32:43 PM UTC+2, Michael Cloonan 
>>>>>>> (AdWords API Team) wrote:
>>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> Can you provide the full SOAP request/response for that particular 
>>>>>>>> batch job? You can reply privately to me using the arrow at the 
>>>>>>>> top-right 
>>>>>>>> of my post.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Mike, AdWords API Team
>>>>>>>>
>>>>>>>> On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com 
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Hi Michael,
>>>>>>>>>
>>>>>>>>> I think most of the issues we had are solved. I am still seeing a 
>>>>>>>>> few batch jobs that when we download them.
>>>>>>>>>
>>>>>>>>> batch_job_id: 744483651
>>>>>>>>>
>>>>>>>>> This returns a "ParseResponse" (using the python adwors library) 
>>>>>>>>> of:
>>>>>>>>>
>>>>>>>>> {'mutateResponse

Re: BatchJobService not returning downloadUrl

2018-06-21 Thread wesley
Hi all, 

Was just checking back in to see if there was any new news, since the 
thread hasn't been updated in over a week.

Cheers,
Wesley

On Tuesday, June 12, 2018 at 2:20:54 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> Thanks for the report, we are working hard to identify the underlying 
> issue here, and I will let you know if we regenerate the download URL for 
> that batch job ID, or if I have any other information to share regarding 
> the previous ones you mentioned.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, June 12, 2018 at 5:42:31 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> Hello,
>>
>> I have just ran into the issue of having no `dowloadUrl` again for batch 
>> job id 759856332
>>
>>
>> On Thursday, June 7, 2018 at 5:28:34 PM UTC+2, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> We're still investigating these last few. I have followed up with the 
>>> team to see if they have any information they can share, which I will pass 
>>> along here when possible.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Thursday, June 7, 2018 at 9:06:55 AM UTC-4, wes...@channable.com 
>>> wrote:
>>>>
>>>> Hi Michael,
>>>>
>>>> Any news? I have customers waiting to here from me about this.
>>>>
>>>> Thanks,
>>>> Wesley
>>>>
>>>> On Tuesday, June 5, 2018 at 1:57:46 PM UTC+2, Michael Cloonan (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Yes, when the job is done there should always be a downloadUrl 
>>>>> available so you can fetch the results. I'll pass these IDs along to the 
>>>>> team.
>>>>>
>>>>> Regards,
>>>>> Mike, AdWords API Team
>>>>>
>>>>> On Tuesday, June 5, 2018 at 4:17:19 AM UTC-4, wes...@channable.com 
>>>>> wrote:
>>>>>>
>>>>>> I am having this issue (with the same result as what I sent in the 
>>>>>> private message) with at least the following 3 batch_job_ids:
>>>>>> 744483651
>>>>>> 744483600
>>>>>> 745226632
>>>>>>
>>>>>> That is all I can find in the error logs, so it should just be these 
>>>>>> 3.
>>>>>>
>>>>>> Also, should we always expect to have a `downloadUrl` from now on? If 
>>>>>> we don't have one, should I just raise the issue here again?  
>>>>>>
>>>>>> On Monday, June 4, 2018 at 2:32:43 PM UTC+2, Michael Cloonan (AdWords 
>>>>>> API Team) wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> Can you provide the full SOAP request/response for that particular 
>>>>>>> batch job? You can reply privately to me using the arrow at the 
>>>>>>> top-right 
>>>>>>> of my post.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike, AdWords API Team
>>>>>>>
>>>>>>> On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi Michael,
>>>>>>>>
>>>>>>>> I think most of the issues we had are solved. I am still seeing a 
>>>>>>>> few batch jobs that when we download them.
>>>>>>>>
>>>>>>>> batch_job_id: 744483651
>>>>>>>>
>>>>>>>> This returns a "ParseResponse" (using the python adwors library) of:
>>>>>>>>
>>>>>>>> {'mutateResponse': {'@xmlns': 
>>>>>>>> 'https://adwords.google.com/api/adwords/cm/v201802'}}
>>>>>>>>
>>>>>>>>
>>>>>>>> We expect there to be an `rval` key within the `mutateResponse`. 
>>>>>>>> This is usually where we get the data from the URL from.
>>>>>>>>
>>>>>>>> Any advice there?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan 
>>>>>&

Re: BatchJobService not returning downloadUrl

2018-06-12 Thread wesley
Hello,

I have just ran into the issue of having no `dowloadUrl` again for batch 
job id 759856332


On Thursday, June 7, 2018 at 5:28:34 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> We're still investigating these last few. I have followed up with the team 
> to see if they have any information they can share, which I will pass along 
> here when possible.
>
> Regards,
> Mike, AdWords API Team
>
> On Thursday, June 7, 2018 at 9:06:55 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> Hi Michael,
>>
>> Any news? I have customers waiting to here from me about this.
>>
>> Thanks,
>> Wesley
>>
>> On Tuesday, June 5, 2018 at 1:57:46 PM UTC+2, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> Yes, when the job is done there should always be a downloadUrl available 
>>> so you can fetch the results. I'll pass these IDs along to the team.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Tuesday, June 5, 2018 at 4:17:19 AM UTC-4, wes...@channable.com 
>>> wrote:
>>>>
>>>> I am having this issue (with the same result as what I sent in the 
>>>> private message) with at least the following 3 batch_job_ids:
>>>> 744483651
>>>> 744483600
>>>> 745226632
>>>>
>>>> That is all I can find in the error logs, so it should just be these 3.
>>>>
>>>> Also, should we always expect to have a `downloadUrl` from now on? If 
>>>> we don't have one, should I just raise the issue here again?  
>>>>
>>>> On Monday, June 4, 2018 at 2:32:43 PM UTC+2, Michael Cloonan (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> Can you provide the full SOAP request/response for that particular 
>>>>> batch job? You can reply privately to me using the arrow at the top-right 
>>>>> of my post.
>>>>>
>>>>> Regards,
>>>>> Mike, AdWords API Team
>>>>>
>>>>> On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com 
>>>>> wrote:
>>>>>>
>>>>>> Hi Michael,
>>>>>>
>>>>>> I think most of the issues we had are solved. I am still seeing a few 
>>>>>> batch jobs that when we download them.
>>>>>>
>>>>>> batch_job_id: 744483651
>>>>>>
>>>>>> This returns a "ParseResponse" (using the python adwors library) of:
>>>>>>
>>>>>> {'mutateResponse': {'@xmlns': 
>>>>>> 'https://adwords.google.com/api/adwords/cm/v201802'}}
>>>>>>
>>>>>>
>>>>>> We expect there to be an `rval` key within the `mutateResponse`. This 
>>>>>> is usually where we get the data from the URL from.
>>>>>>
>>>>>> Any advice there?
>>>>>>
>>>>>>
>>>>>> On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords 
>>>>>> API Team) wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> We made another pass regenerating download URLs, and they should no 
>>>>>>> longer result in 404s. Please let me know if you are having any more 
>>>>>>> difficulties.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike, AdWords API Team
>>>>>>>
>>>>>>> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>>>>>>>>
>>>>>>>> Thanks for the update, Mike. As I posted earlier, we were having 
>>>>>>>> around 1,000 jobs a day have this issue. Looks like for the past day 
>>>>>>>> or 
>>>>>>>> two, we haven't had any, so it's looking good. 
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Greg
>>>>>>>>
>>>>>>>> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan 
>>>>>>>> (AdWords API Team) wrote:
>>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> Thanks for letting me know. I've passed this info

Re: BatchJobService not returning downloadUrl

2018-06-07 Thread wesley
Hi Michael,

Any news? I have customers waiting to here from me about this.

Thanks,
Wesley

On Tuesday, June 5, 2018 at 1:57:46 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> Yes, when the job is done there should always be a downloadUrl available 
> so you can fetch the results. I'll pass these IDs along to the team.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, June 5, 2018 at 4:17:19 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> I am having this issue (with the same result as what I sent in the 
>> private message) with at least the following 3 batch_job_ids:
>> 744483651
>> 744483600
>> 745226632
>>
>> That is all I can find in the error logs, so it should just be these 3.
>>
>> Also, should we always expect to have a `downloadUrl` from now on? If we 
>> don't have one, should I just raise the issue here again?  
>>
>> On Monday, June 4, 2018 at 2:32:43 PM UTC+2, Michael Cloonan (AdWords API 
>> Team) wrote:
>>>
>>> Hello,
>>>
>>> Can you provide the full SOAP request/response for that particular batch 
>>> job? You can reply privately to me using the arrow at the top-right of my 
>>> post.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com wrote:
>>>>
>>>> Hi Michael,
>>>>
>>>> I think most of the issues we had are solved. I am still seeing a few 
>>>> batch jobs that when we download them.
>>>>
>>>> batch_job_id: 744483651
>>>>
>>>> This returns a "ParseResponse" (using the python adwors library) of:
>>>>
>>>> {'mutateResponse': {'@xmlns': 
>>>> 'https://adwords.google.com/api/adwords/cm/v201802'}}
>>>>
>>>>
>>>> We expect there to be an `rval` key within the `mutateResponse`. This 
>>>> is usually where we get the data from the URL from.
>>>>
>>>> Any advice there?
>>>>
>>>>
>>>> On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords 
>>>> API Team) wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> We made another pass regenerating download URLs, and they should no 
>>>>> longer result in 404s. Please let me know if you are having any more 
>>>>> difficulties.
>>>>>
>>>>> Regards,
>>>>> Mike, AdWords API Team
>>>>>
>>>>> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>>>>>>
>>>>>> Thanks for the update, Mike. As I posted earlier, we were having 
>>>>>> around 1,000 jobs a day have this issue. Looks like for the past day or 
>>>>>> two, we haven't had any, so it's looking good. 
>>>>>>
>>>>>> Thanks,
>>>>>> Greg
>>>>>>
>>>>>> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords 
>>>>>> API Team) wrote:
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> Thanks for letting me know. I've passed this information along to 
>>>>>>> the batch job team and will let you know as soon as I hear anything 
>>>>>>> back. I 
>>>>>>> apologize for the inconvenience; obviously having a URL that results in 
>>>>>>> a 
>>>>>>> 404 is no better than having no URL at all, so I'm making sure that 
>>>>>>> this is 
>>>>>>> still at a high priority for us.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike, AdWords API Team
>>>>>>>
>>>>>>> On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi Michael,
>>>>>>>>
>>>>>>>> We actually noticed that you regenerated, because now we are 
>>>>>>>> getting a different error.
>>>>>>>>
>>>>>>>> For batch job id: 744483600, we now get a `downloadUrl`, but it 
>>>>>>>> returns a 404. We have a few other batch jobs with the same problem.
>>>>>>>>
>>>>>>>> Another with the

Re: BatchJobService not returning downloadUrl

2018-06-05 Thread wesley
I am having this issue (with the same result as what I sent in the private 
message) with at least the following 3 batch_job_ids:
744483651
744483600
745226632

That is all I can find in the error logs, so it should just be these 3.

Also, should we always expect to have a `downloadUrl` from now on? If we 
don't have one, should I just raise the issue here again?  

On Monday, June 4, 2018 at 2:32:43 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> Can you provide the full SOAP request/response for that particular batch 
> job? You can reply privately to me using the arrow at the top-right of my 
> post.
>
> Regards,
> Mike, AdWords API Team
>
> On Monday, June 4, 2018 at 8:29:51 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> Hi Michael,
>>
>> I think most of the issues we had are solved. I am still seeing a few 
>> batch jobs that when we download them.
>>
>> batch_job_id: 744483651
>>
>> This returns a "ParseResponse" (using the python adwors library) of:
>>
>> {'mutateResponse': {'@xmlns': 
>> 'https://adwords.google.com/api/adwords/cm/v201802'}}
>>
>>
>> We expect there to be an `rval` key within the `mutateResponse`. This is 
>> usually where we get the data from the URL from.
>>
>> Any advice there?
>>
>>
>> On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords API 
>> Team) wrote:
>>>
>>> Hello,
>>>
>>> We made another pass regenerating download URLs, and they should no 
>>> longer result in 404s. Please let me know if you are having any more 
>>> difficulties.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:

 Thanks for the update, Mike. As I posted earlier, we were having around 
 1,000 jobs a day have this issue. Looks like for the past day or two, we 
 haven't had any, so it's looking good. 

 Thanks,
 Greg

 On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords 
 API Team) wrote:
>
> Hello,
>
> Thanks for letting me know. I've passed this information along to the 
> batch job team and will let you know as soon as I hear anything back. I 
> apologize for the inconvenience; obviously having a URL that results in a 
> 404 is no better than having no URL at all, so I'm making sure that this 
> is 
> still at a high priority for us.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com 
> wrote:
>>
>> Hi Michael,
>>
>> We actually noticed that you regenerated, because now we are getting 
>> a different error.
>>
>> For batch job id: 744483600, we now get a `downloadUrl`, but it 
>> returns a 404. We have a few other batch jobs with the same problem.
>>
>> Another with the same issue:
>> batch_job_id = 745104354
>>
>> If you need more, I can provide them.
>>
>>
>> On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords 
>> API Team) wrote:
>>>
>>> Hello,
>>>
>>> We have regenerated download URLs for all jobs that had completed 
>>> without one, and are working to improve our processes so that we can 
>>> reduce 
>>> the chance of this happening in the future.
>>>
>>> Please let me know if you still have any trouble retrieving the 
>>> download URLs for your batch jobs, and please include any relevant 
>>> batch 
>>> job IDs for ones that aren't fixed so we can investigate.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan 
>>> (AdWords API Team) wrote:

 Hello,

 Thanks for the additional details. Since it seems to be more 
 widespread than just a one-off error, I've increased the priority 
 internally so that we can try to get to the bottom of this sooner.

 Regards,
 Mike, AdWords API Team

 On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
 wrote:
>
> Also, the batch job id listed above was for only a few sent 
> operations. We have some that we have no dowloadUrl for that contain 
> a lot 
> more operations.
>
> batch job id 745031759 gave a response of
>
> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>
> but we still have no downloadUrl
>
>
> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan 
> (AdWords API Team) wrote:
>>
>> Hello,
>>
>> That is strange; I will get in contact with the team in charge of 
>> that service and see what we can do to get you the downloadUrl, and 
>> also 
>> investigate why this happened.
>>
>>

Re: BatchJobService not returning downloadUrl

2018-06-04 Thread wesley
Hi Michael,

I think most of the issues we had are solved. I am still seeing a few batch 
jobs that when we download them.

batch_job_id: 744483651

This returns a "ParseResponse" (using the python adwors library) of:

{'mutateResponse': {'@xmlns': 
'https://adwords.google.com/api/adwords/cm/v201802'}}


We expect there to be an `rval` key within the `mutateResponse`. This is 
usually where we get the data from the URL from.

Any advice there?


On Monday, June 4, 2018 at 1:54:48 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> We made another pass regenerating download URLs, and they should no longer 
> result in 404s. Please let me know if you are having any more difficulties.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, June 1, 2018 at 4:22:40 PM UTC-4, GregT wrote:
>>
>> Thanks for the update, Mike. As I posted earlier, we were having around 
>> 1,000 jobs a day have this issue. Looks like for the past day or two, we 
>> haven't had any, so it's looking good. 
>>
>> Thanks,
>> Greg
>>
>> On Friday, June 1, 2018 at 8:59:43 AM UTC-5, Michael Cloonan (AdWords API 
>> Team) wrote:
>>>
>>> Hello,
>>>
>>> Thanks for letting me know. I've passed this information along to the 
>>> batch job team and will let you know as soon as I hear anything back. I 
>>> apologize for the inconvenience; obviously having a URL that results in a 
>>> 404 is no better than having no URL at all, so I'm making sure that this is 
>>> still at a high priority for us.
>>>
>>> Regards,
>>> Mike, AdWords API Team
>>>
>>> On Friday, June 1, 2018 at 9:35:20 AM UTC-4, wes...@channable.com wrote:

 Hi Michael,

 We actually noticed that you regenerated, because now we are getting a 
 different error.

 For batch job id: 744483600, we now get a `downloadUrl`, but it returns 
 a 404. We have a few other batch jobs with the same problem.

 Another with the same issue:
 batch_job_id = 745104354

 If you need more, I can provide them.


 On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords 
 API Team) wrote:
>
> Hello,
>
> We have regenerated download URLs for all jobs that had completed 
> without one, and are working to improve our processes so that we can 
> reduce 
> the chance of this happening in the future.
>
> Please let me know if you still have any trouble retrieving the 
> download URLs for your batch jobs, and please include any relevant batch 
> job IDs for ones that aren't fixed so we can investigate.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan (AdWords 
> API Team) wrote:
>>
>> Hello,
>>
>> Thanks for the additional details. Since it seems to be more 
>> widespread than just a one-off error, I've increased the priority 
>> internally so that we can try to get to the bottom of this sooner.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
>> wrote:
>>>
>>> Also, the batch job id listed above was for only a few sent 
>>> operations. We have some that we have no dowloadUrl for that contain a 
>>> lot 
>>> more operations.
>>>
>>> batch job id 745031759 gave a response of
>>>
>>> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
>>> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>>>
>>> but we still have no downloadUrl
>>>
>>>
>>> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan 
>>> (AdWords API Team) wrote:

 Hello,

 That is strange; I will get in contact with the team in charge of 
 that service and see what we can do to get you the downloadUrl, and 
 also 
 investigate why this happened.

 Regards,
 Mike, AdWords API Team

 On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
 wrote:
>
> We are heavy users of the Adwords API (on behalf of our customers) 
> and are experiencing some issues with batch jobs.
>
> When we query the BatchJobService for a specific batch job id, we 
> don't get a downloadUrl in the response. We were under the assumption 
> that we should always get a downloadUrl from the response.
>
> We've had these issues before, but they have been exacerbated in the 
> last two days.
>
> Concretely, we are using the BatchJobService to send BatchJob's to 
> e.g. create new campaigns, adgroups, ads etc.
>
> Here are the API docs for it: 
> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
> The docs indicate that the field 'downloadUrl' is *always* present in 
> a response

Re: BatchJobService not returning downloadUrl

2018-06-01 Thread wesley
Hi Michael,

We actually noticed that you regenerated, because now we are getting a 
different error.

For batch job id: 744483600, we now get a `downloadUrl`, but it returns a 
404. We have a few other batch jobs with the same problem.

Another with the same issue:
batch_job_id = 745104354

If you need more, I can provide them.


On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> We have regenerated download URLs for all jobs that had completed without 
> one, and are working to improve our processes so that we can reduce the 
> chance of this happening in the future.
>
> Please let me know if you still have any trouble retrieving the download 
> URLs for your batch jobs, and please include any relevant batch job IDs for 
> ones that aren't fixed so we can investigate.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> Thanks for the additional details. Since it seems to be more widespread 
>> than just a one-off error, I've increased the priority internally so that 
>> we can try to get to the bottom of this sooner.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
>>  wrote:
>>>
>>> Also, the batch job id listed above was for only a few sent operations. 
>>> We have some that we have no dowloadUrl for that contain a lot more 
>>> operations.
>>>
>>> batch job id 745031759 gave a response of
>>>
>>> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
>>> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>>>
>>> but we still have no downloadUrl
>>>
>>>
>>> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan (AdWords 
>>> API Team) wrote:

 Hello,

 That is strange; I will get in contact with the team in charge of that 
 service and see what we can do to get you the downloadUrl, and also 
 investigate why this happened.

 Regards,
 Mike, AdWords API Team

 On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
 wrote:
>
> We are heavy users of the Adwords API (on behalf of our customers) and 
> are experiencing some issues with batch jobs.
>
> When we query the BatchJobService for a specific batch job id, we don't 
> get a downloadUrl in the response. We were under the assumption that we 
> should always get a downloadUrl from the response.
>
> We've had these issues before, but they have been exacerbated in the last 
> two days.
>
> Concretely, we are using the BatchJobService to send BatchJob's to e.g. 
> create new campaigns, adgroups, ads etc.
>
> Here are the API docs for it: 
> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
> The docs indicate that the field 'downloadUrl' is *always* present in a 
> response.
>
> We are using the `googleads` python library (version 10.1.0), with 
> adwords version `v201802`
>  
> Here is an example of the selector we use
>
> selector = {
> 'fields': ['Id', 'Status', 'DownloadUrl'],
> 'predicates': [
> {
> 'field': 'Id',
> 'operator': 'EQUALS',
> 'values': [batch_job_id]
> }
> ]
> }
>
> and an example `batch_job_id` we use is `745158738` (the client's account 
> id is available upon request)
>
> The return we get from using this selector is:
>
> (BatchJob){
>id = 745158738
>status = "DONE"
>progressStats = 
>   (ProgressStats){
>  numOperationsExecuted = 2
>  numOperationsSucceeded = 2
>  estimatedPercentExecuted = 2147483647
>  numResultsWritten = 2
>   }
>  }
>
>
> If we instead use the AWQL:
>
> `SELECT Id, Status, DownloadUrl WHERE Id = 745158738`
>
> then we get
>
> {
> 'id': 745158738,
> 'status': 'DONE',
> 'progressStats': {
> 'numOperationsExecuted': 2,
> 'numOperationsSucceeded': 2,
> 'estimatedPercentExecuted': 2147483647,
> 'numResultsWritten': 2
> },
> 'uploadUrl': None,
> 'downloadUrl': None,
> 'processingErrors': [],
> 'diskUsageQuotaBalance': None
> }
>
> which more accurately shows that we are not receiving anything for the 
> `downloadUrl`
> (We also get a strange number for `estimatedPercentExecuted`, but we 
> assume this is because the number is 2^31-1, the largest signed 32-bit 
> integer. 
> Not sure if this matters, but figured we should point it out)
>
> Any idea what is going on? Because we send so many batch jobs per day for 
> varying customers, this is

Re: BatchJobService not returning downloadUrl

2018-06-01 Thread wesley
Hi Michael,

We actually noticed that you regenerated, because now we are getting a 
different error.

For batch job id: 744483600
We now have a `downloadUrl` of 
'https://batch-job-download-prod-ebe9b43.storage.googleapis.com/221920724/0.results.xml?GoogleAccessId=926043054183-rbu1gkdushnqrfcf47gser4u8qse2...@developer.gserviceaccount.com&Expires=1530394430628&Signature=EAe5iF5wbFai4UK5jGCvIeHk7gQiiiW6db1oUjkHU7gMgsL3mj2CpqQBl0arxna0Tv8CZ2dsyeJZXY1dJBv558sqvylFApPLfFHlawfSKAgCBqxXjGEwJ4uNZfSQvSAXsUEZDGafx13NEug1zyneTsF7m%2FQm8cG%2Bw%2F2IfF%2FDkfBAcYamYgU7d7QW4ctGWEnXQGftJ8cRxb%2B7nwo%2FKYlRHzG%2B3Zw%2F4Awtmdggs00YDHQocx47CxW8J25UWklvsQ7mmHhCQ7s22V8K%2F2gFLFavnyYv6o8QWN6I%2Bk9nrH5UR5qArYvVdlBSXuVP%2F97eVRhnICvTfCzT7v0fuYiShMEtTA%3D%3D'

which returns a 404. We have a few other batch jobs with the same problem.

batch_job_id = 745104354
downloadUrl = 
https://batch-job-download-prod-ebe9b43.storage.googleapis.com/221920724/0.results.xml?GoogleAccessId=926043054183-rbu1gkdushnqrfcf47gser4u8qse2...@developer.gserviceaccount.com&Expires=1530394430641&Signature=Rf9npjISaSvlPMyIARBg7xlJaNEBgULAVexSUnV10N15LaksgTPGcZXtyYHpvXVifeqkJHNFM7rPgblqY7TtlsXzPLOxLWW%2BJuVO%2FKjV7QA8S64qnGTSvWv7e7pztMxmn5%2Fbc4gWEgC9SQ8ZuUl%2Fz8NkbbAM0aonrOMNirKmFESeiro9z4HKuVxMPjA%2ByfudklV6vIItlLoBtq%2FxW6FX7ahGRlrIBh9otpNwq72RLAYqT47z8b53necAGdPgEBGHxvuzfMYkbaPP3PypH6stzS1YRCPSZVNUxTTgDBsMa8E0mejAkrXO%2BFLP5SWjfOeiQgF1r8cDt1oXTtvfIniBaQ%3D%3D


On Friday, June 1, 2018 at 3:02:30 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> We have regenerated download URLs for all jobs that had completed without 
> one, and are working to improve our processes so that we can reduce the 
> chance of this happening in the future.
>
> Please let me know if you still have any trouble retrieving the download 
> URLs for your batch jobs, and please include any relevant batch job IDs for 
> ones that aren't fixed so we can investigate.
>
> Regards,
> Mike, AdWords API Team
>
> On Tuesday, May 29, 2018 at 7:29:06 AM UTC-4, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> Thanks for the additional details. Since it seems to be more widespread 
>> than just a one-off error, I've increased the priority internally so that 
>> we can try to get to the bottom of this sooner.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, May 28, 2018 at 7:56:20 AM UTC-4, wes...@channable.com 
>>  wrote:
>>>
>>> Also, the batch job id listed above was for only a few sent operations. 
>>> We have some that we have no dowloadUrl for that contain a lot more 
>>> operations.
>>>
>>> batch job id 745031759 gave a response of
>>>
>>> 'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
>>> 'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0
>>>
>>> but we still have no downloadUrl
>>>
>>>
>>> On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan (AdWords 
>>> API Team) wrote:

 Hello,

 That is strange; I will get in contact with the team in charge of that 
 service and see what we can do to get you the downloadUrl, and also 
 investigate why this happened.

 Regards,
 Mike, AdWords API Team

 On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
 wrote:
>
> We are heavy users of the Adwords API (on behalf of our customers) and 
> are experiencing some issues with batch jobs.
>
> When we query the BatchJobService for a specific batch job id, we don't 
> get a downloadUrl in the response. We were under the assumption that we 
> should always get a downloadUrl from the response.
>
> We've had these issues before, but they have been exacerbated in the last 
> two days.
>
> Concretely, we are using the BatchJobService to send BatchJob's to e.g. 
> create new campaigns, adgroups, ads etc.
>
> Here are the API docs for it: 
> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
> The docs indicate that the field 'downloadUrl' is *always* present in a 
> response.
>
> We are using the `googleads` python library (version 10.1.0), with 
> adwords version `v201802`
>  
> Here is an example of the selector we use
>
> selector = {
> 'fields': ['Id', 'Status', 'DownloadUrl'],
> 'predicates': [
> {
> 'field': 'Id',
> 'operator': 'EQUALS',
> 'values': [batch_job_id]
> }
> ]
> }
>
> and an example `batch_job_id` we use is `745158738` (the client's account 
> id is available upon request)
>
> The return we get from using this selector is:
>
> (BatchJob){
>id = 745158738
>status = "DONE"
>progressStats = 
>   (ProgressStats){
>  numOperationsExecuted = 2
>  numOperationsSucceeded = 2
>  estimatedPercentExe

Re: BatchJobService not returning downloadUrl

2018-05-28 Thread wesley
Also, the batch job id listed above was for only a few sent operations. We 
have some that we have no dowloadUrl for that contain a lot more operations.

batch job id 745031759 gave a response of

'numOperationsExecuted': 2104, 'numOperationsSucceeded': 2104, 
'estimatedPercentExecuted': 2147483647, 'numResultsWritten': 0

but we still have no downloadUrl


On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> That is strange; I will get in contact with the team in charge of that 
> service and see what we can do to get you the downloadUrl, and also 
> investigate why this happened.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> We are heavy users of the Adwords API (on behalf of our customers) and are 
>> experiencing some issues with batch jobs.
>>
>> When we query the BatchJobService for a specific batch job id, we don't get 
>> a downloadUrl in the response. We were under the assumption that we should 
>> always get a downloadUrl from the response.
>>
>> We've had these issues before, but they have been exacerbated in the last 
>> two days.
>>
>> Concretely, we are using the BatchJobService to send BatchJob's to e.g. 
>> create new campaigns, adgroups, ads etc.
>>
>> Here are the API docs for it: 
>> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
>> The docs indicate that the field 'downloadUrl' is *always* present in a 
>> response.
>>
>> We are using the `googleads` python library (version 10.1.0), with adwords 
>> version `v201802`
>>  
>> Here is an example of the selector we use
>>
>> selector = {
>> 'fields': ['Id', 'Status', 'DownloadUrl'],
>> 'predicates': [
>> {
>> 'field': 'Id',
>> 'operator': 'EQUALS',
>> 'values': [batch_job_id]
>> }
>> ]
>> }
>>
>> and an example `batch_job_id` we use is `745158738` (the client's account id 
>> is available upon request)
>>
>> The return we get from using this selector is:
>>
>> (BatchJob){
>>id = 745158738
>>status = "DONE"
>>progressStats = 
>>   (ProgressStats){
>>  numOperationsExecuted = 2
>>  numOperationsSucceeded = 2
>>  estimatedPercentExecuted = 2147483647
>>  numResultsWritten = 2
>>   }
>>  }
>>
>>
>> If we instead use the AWQL:
>>
>> `SELECT Id, Status, DownloadUrl WHERE Id = 745158738`
>>
>> then we get
>>
>> {
>> 'id': 745158738,
>> 'status': 'DONE',
>> 'progressStats': {
>> 'numOperationsExecuted': 2,
>> 'numOperationsSucceeded': 2,
>> 'estimatedPercentExecuted': 2147483647,
>> 'numResultsWritten': 2
>> },
>> 'uploadUrl': None,
>> 'downloadUrl': None,
>> 'processingErrors': [],
>> 'diskUsageQuotaBalance': None
>> }
>>
>> which more accurately shows that we are not receiving anything for the 
>> `downloadUrl`
>> (We also get a strange number for `estimatedPercentExecuted`, but we assume 
>> this is because the number is 2^31-1, the largest signed 32-bit integer. 
>> Not sure if this matters, but figured we should point it out)
>>
>> Any idea what is going on? Because we send so many batch jobs per day for 
>> varying customers, this is giving us a lot of errors.
>>
>> I've seen in the forum that the BatchJobService is experiencing 
>> difficulties, but like I said, we also have gotten this before.
>>
>>
>> Another user that had a similar issue: 
>> https://groups.google.com/forum/#!searchin/adwords-api/downloadUrl|sort:relevance/adwords-api/ntmtnFLPhWo/SSO4Qr-KDQAJ
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ea6389c1-8532-4b5b-8a60-c007a2f43202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BatchJobService not returning downloadUrl

2018-05-27 Thread wesley
It's not just happening for this one batch job. We have a lot that have 
been having this issue.

On Friday, May 25, 2018 at 9:03:17 PM UTC+2, Michael Cloonan (AdWords API 
Team) wrote:
>
> Hello,
>
> That is strange; I will get in contact with the team in charge of that 
> service and see what we can do to get you the downloadUrl, and also 
> investigate why this happened.
>
> Regards,
> Mike, AdWords API Team
>
> On Friday, May 25, 2018 at 6:21:49 AM UTC-4, wes...@channable.com 
>  wrote:
>>
>> We are heavy users of the Adwords API (on behalf of our customers) and are 
>> experiencing some issues with batch jobs.
>>
>> When we query the BatchJobService for a specific batch job id, we don't get 
>> a downloadUrl in the response. We were under the assumption that we should 
>> always get a downloadUrl from the response.
>>
>> We've had these issues before, but they have been exacerbated in the last 
>> two days.
>>
>> Concretely, we are using the BatchJobService to send BatchJob's to e.g. 
>> create new campaigns, adgroups, ads etc.
>>
>> Here are the API docs for it: 
>> https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
>> The docs indicate that the field 'downloadUrl' is *always* present in a 
>> response.
>>
>> We are using the `googleads` python library (version 10.1.0), with adwords 
>> version `v201802`
>>  
>> Here is an example of the selector we use
>>
>> selector = {
>> 'fields': ['Id', 'Status', 'DownloadUrl'],
>> 'predicates': [
>> {
>> 'field': 'Id',
>> 'operator': 'EQUALS',
>> 'values': [batch_job_id]
>> }
>> ]
>> }
>>
>> and an example `batch_job_id` we use is `745158738` (the client's account id 
>> is available upon request)
>>
>> The return we get from using this selector is:
>>
>> (BatchJob){
>>id = 745158738
>>status = "DONE"
>>progressStats = 
>>   (ProgressStats){
>>  numOperationsExecuted = 2
>>  numOperationsSucceeded = 2
>>  estimatedPercentExecuted = 2147483647
>>  numResultsWritten = 2
>>   }
>>  }
>>
>>
>> If we instead use the AWQL:
>>
>> `SELECT Id, Status, DownloadUrl WHERE Id = 745158738`
>>
>> then we get
>>
>> {
>> 'id': 745158738,
>> 'status': 'DONE',
>> 'progressStats': {
>> 'numOperationsExecuted': 2,
>> 'numOperationsSucceeded': 2,
>> 'estimatedPercentExecuted': 2147483647,
>> 'numResultsWritten': 2
>> },
>> 'uploadUrl': None,
>> 'downloadUrl': None,
>> 'processingErrors': [],
>> 'diskUsageQuotaBalance': None
>> }
>>
>> which more accurately shows that we are not receiving anything for the 
>> `downloadUrl`
>> (We also get a strange number for `estimatedPercentExecuted`, but we assume 
>> this is because the number is 2^31-1, the largest signed 32-bit integer. 
>> Not sure if this matters, but figured we should point it out)
>>
>> Any idea what is going on? Because we send so many batch jobs per day for 
>> varying customers, this is giving us a lot of errors.
>>
>> I've seen in the forum that the BatchJobService is experiencing 
>> difficulties, but like I said, we also have gotten this before.
>>
>>
>> Another user that had a similar issue: 
>> https://groups.google.com/forum/#!searchin/adwords-api/downloadUrl|sort:relevance/adwords-api/ntmtnFLPhWo/SSO4Qr-KDQAJ
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/fcd6c1b2-15be-4aaa-9b35-f0aaa0b70581%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BatchJobService not returning downloadUrl

2018-05-25 Thread wesley


We are heavy users of the Adwords API (on behalf of our customers) and are 
experiencing some issues with batch jobs.

When we query the BatchJobService for a specific batch job id, we don't get a 
downloadUrl in the response. We were under the assumption that we should always 
get a downloadUrl from the response.

We've had these issues before, but they have been exacerbated in the last two 
days.

Concretely, we are using the BatchJobService to send BatchJob's to e.g. create 
new campaigns, adgroups, ads etc.

Here are the API docs for it: 
https://developers.google.com/adwords/api/docs/reference/v201802/BatchJobService.BatchJob
The docs indicate that the field 'downloadUrl' is *always* present in a 
response.

We are using the `googleads` python library (version 10.1.0), with adwords 
version `v201802`
 
Here is an example of the selector we use

selector = {
'fields': ['Id', 'Status', 'DownloadUrl'],
'predicates': [
{
'field': 'Id',
'operator': 'EQUALS',
'values': [batch_job_id]
}
]
}

and an example `batch_job_id` we use is `745158738` (the client's account id is 
available upon request)

The return we get from using this selector is:

(BatchJob){
   id = 745158738
   status = "DONE"
   progressStats = 
  (ProgressStats){
 numOperationsExecuted = 2
 numOperationsSucceeded = 2
 estimatedPercentExecuted = 2147483647
 numResultsWritten = 2
  }
 }


If we instead use the AWQL:

`SELECT Id, Status, DownloadUrl WHERE Id = 745158738`

then we get

{
'id': 745158738,
'status': 'DONE',
'progressStats': {
'numOperationsExecuted': 2,
'numOperationsSucceeded': 2,
'estimatedPercentExecuted': 2147483647,
'numResultsWritten': 2
},
'uploadUrl': None,
'downloadUrl': None,
'processingErrors': [],
'diskUsageQuotaBalance': None
}

which more accurately shows that we are not receiving anything for the 
`downloadUrl`
(We also get a strange number for `estimatedPercentExecuted`, but we assume 
this is because the number is 2^31-1, the largest signed 32-bit integer. 
Not sure if this matters, but figured we should point it out)

Any idea what is going on? Because we send so many batch jobs per day for 
varying customers, this is giving us a lot of errors.

I've seen in the forum that the BatchJobService is experiencing difficulties, 
but like I said, we also have gotten this before.


Another user that had a similar issue: 
https://groups.google.com/forum/#!searchin/adwords-api/downloadUrl|sort:relevance/adwords-api/ntmtnFLPhWo/SSO4Qr-KDQAJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bcd84ebf-4eec-4784-9d78-9b83430d85eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trying to get report but always just get "ReportDownloadError.MISSING_PARAMETER" "Missing report definition"

2016-02-11 Thread Wesley Ide
Hi Yin,

Yes, Im using Java client library. I saw the examples, and with one of them 
I had a better error message. The problem was the dateRangeType ALL_TIME 
which I was using, but the response message says it is invalid (but had in 
documentation).
It is strange, because the same parameter works with a rest application 
(which I mentioned before). But now I using with another form the 
dateRangeType.

Thanks Yin!!

Em terça-feira, 9 de fevereiro de 2016 15:30:43 UTC-2, Yin Niu escreveu:
>
> Hi Wesley, 
>
> Are you using the Java client library? Here are some Java examples 
> <https://github.com/googleads/googleads-java-lib/tree/master/examples/adwords_axis/src/main/java/adwords/axis/v201601/reporting>
>  for 
> downloading reports.  
>
> Thanks,
> Yin, 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/8b7e920f-0b03-4b0c-a3f9-ccb002625fd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trying to get report but always just get "ReportDownloadError.MISSING_PARAMETER" "Missing report definition"

2016-02-03 Thread Wesley Ide
Hi

I have the same problem.
I add the headers:

   - "User-Agent" : "Mozilla/5.0"
   - "Accept-Language" : "pt-br"
   - "Accept-Charset" : "UTF-8"
   - "Content-Type" : "application/soap+xml"
   - "Authorization" : "Bearer ACCESS_TOKEN"
   - "clientCustomerId", "XXX-XXX-"
   - "developerToken", "XX"
   
And the parameters:

   - __rdxml="https://adwords.google.com/api/adwords/cm/v201506\";>Cost<\/fields>ConversionValue<\/fields><\/selector>Keywords
 
   Performance 
   
Report<\/reportName>KEYWORDS_PERFORMANCE_REPORT<\/reportType>ALL_TIME<\/dateRangeType>CSV<\/downloadFormat><\/reportDefinition>"
   - __fmt="CSV"

But the response is:


   
  ReportDownloadError.MISSING_PARAMETER
  Missing report definition
  
   


I did the request using the DHC tool <https://restlet.com/products/dhc/> with 
the headers and parameters that I mentioned, and worked perfect! But in my 
code (Java), have the behavior that I mentioned above.

Any suggestion about this misterious "MISSING_PARAMETER" or why dont works 
in my code, but did in a REST tool?

Wesley.

Em sexta-feira, 20 de março de 2015 09:57:57 UTC-3, Danial Klimkin escreveu:
>
> Hello Michael,
>
>
> Is it possible some of the HTTP headers were not set?
>
> Can you send me the exact request you've generated, via email? Please use 
> "Reply to author" button on the right.
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, March 20, 2015 at 2:14:29 PM UTC+3, Michael D wrote:
>>
>> Hi, 
>>
>> im in a portableClassLibary so the ClientLibaries doesnt work for me.
>>  
>> I changed what you said but now im gettin this Error: 
>>
>> "> standalone=\"yes\"?>
>> 
>> ReportDownloadError.INVALID_PARAMETER
>> Missing client information
>> 
>> 
>> "
>>
>>
>> This ismy code now:
>>
>> public string GetReport()
>> {
>> var postString = this.ConstructPostRequest();
>> var content = new StringContent(postString, Encoding.UTF8, 
>> "application/x-www-form-urlencoded");
>>
>> var client = new HttpClient();
>>
>> 
>> client.DefaultRequestHeaders.TryAddWithoutValidation("Authorization: ", 
>> "Bearer " + accesToken);
>> 
>> client.DefaultRequestHeaders.TryAddWithoutValidation("developerToken: ", 
>> developerToken);
>> 
>> client.DefaultRequestHeaders.TryAddWithoutValidation("clientCustomerId: ", 
>> clientCustomerId);
>> 
>> client.DefaultRequestHeaders.TryAddWithoutValidation("content-type: ", 
>> "application/x-www-form-urlencoded");
>>
>> var request = new HttpRequestMessage(HttpMethod.Post, 
>> baseAdressAdWords)
>> {
>> Content = content
>> };
>>  
>> var response = client.SendAsync(request).Result;
>> 
>> var Response = response.Content.ReadAsStringAsync().Result;
>>
>> return Response ;
>> }
>> #region Construct Post Request
>> private string ConstructPostRequest()
>> {
>> 
>>  string xml=@"> https://adwords.google.com/api/adwords/cm/v201409"";>
>>   
>> CampaignId
>> Id
>> Impressions
>> Clicks
>> Cost
>> 
>>   Status
>>   IN
>>   ENABLED
>>   PAUSED
>> 
>>   
>>   Custom Adgroup Performance 
>> Report
>>   ADGROUP_PERFORMANCE_REPORT
>>   LAST_7_DAYS
>>   XML
>> "
>>
>>  return "__rdxml="+ System.Net.WebUtility.UrlEncode(xml);
>> }
>> }
>> }
>>
>>
>>
>> Am Montag, 16. März 2015 16:31:49 UTC+1 schrieb Danial Klimkin:
>>>
>>> Hello Michael,
>>>
>>>
>>> The request should have post parameter named "__rdxml", I don't see you