Re: OfflineConversionError.INVALID_CONVERSION_TYPE but the conversion name is there

2014-06-06 Thread mobster
Hey Josh,

when I pick a more recent one (for example 'CKvGybKt5L4CFe99OgodSxMAyg'), I 
get:

Message: [OfflineConversionError.CONVERSION_PRECEDES_CLICK @ 
operations[0].operand]
Errors:
Error [1]:
field_path: operations[0].operand
trigger:
error_string: OfflineConversionError.CONVERSION_PRECEDES_CLICK
api_error_type: OfflineConversionError
reason: CONVERSION_PRECEDES_CLICK
xsi_type: OfflineConversionError

The plot thickens :)

Greetings, Bart

On Thursday, June 5, 2014 11:04:45 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Gerard,

 I did some digging and discovered that in order for you to upload an 
 offline conversion to a conversion type defined in your MCC, the MCC had to 
 have been set as the conversion account *as of the time of the click*. In 
 your particular case, I believe you changed the conversion account to the 
 MCC recently, hence the INVALID_CONVERSION_TYPE error for clicks that 
 occurred prior to that change. You will only be able to upload those clicks 
 to conversion types defined on the AdWords account itself.

 I'm still trying to determine if this is a change in behavior. I'll post 
 back here as soon as I have more info.

 Cheers,
 Josh, AdWords API Team

 On Thursday, June 5, 2014 10:58:43 AM UTC-4, mob...@glomedia.eu wrote:

 Done!

 On Wednesday, June 4, 2014 10:29:49 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Gerard,

 Could you send the following *only to me* by clicking *Reply to Author* on 
 this message?

 1. The customer ID of the AdWords account
 2. The customer ID of the MCC account or AdWords account where you 
 created the Conversion (if different from #1)
 3. SOAP requests and responses from your latest attempt

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 4:23:00 PM UTC-4, mob...@glomedia.eu wrote:

 I am setting the correct clientCustomerId and the Conversion is set to 
 import.

 Greetings, Gerard

 On Wednesday, June 4, 2014 9:47:30 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Sorry if I wasn't clear, but my point was you should have the 
 *AdWords* account ID in the header, *not* the MCC account ID. Please 
 give that a try and update this thread if you still have problems.

 One other note: make sure that the conversion you are specifying by 
 name in your request is an offline conversion (*Source* = *Import* in 
 the UI).

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 3:43:12 PM UTC-4, mob...@glomedia.eu wrote:

 When I set NO credentials (just the developer token):
 
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 When I set the incorrect clientCustomerId credentials:
 
 Message: [OfflineConversionError.UNAUTHORIZED_USER @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.UNAUTHORIZED_USER
 api_error_type: OfflineConversionError
 reason: UNAUTHORIZED_USER
 xsi_type: OfflineConversionError

 When I set the correct clientCustomerId credentials:
 ==
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 I don't know where I can find my MCC account_id, so I haven't tested 
 it.

 Thanks!




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

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


Re: OfflineConversionError.INVALID_CONVERSION_TYPE but the conversion name is there

2014-06-06 Thread mobster
Hi Josh, 

when I try and convert a more recent one, I get: 
{s2s_tracker=CK6FtOblq74CFe9r7AodQE8AJw, signed_at=2014-06-05 
00:01:05 UTC}
Message: [OfflineConversionError.TOO_RECENT_CLICK @ operations[0].operand]
Errors:
Error [1]:
field_path: operations[0].operand
trigger:
error_string: OfflineConversionError.TOO_RECENT_CLICK
api_error_type: OfflineConversionError
reason: TOO_RECENT_CLICK
xsi_type: OfflineConversionError

Greetings, Gerard

On Thursday, June 5, 2014 11:04:45 PM UTC+2, Josh Radcliff (AdWords API 
Team) wrote:

 Hi Gerard,

 I did some digging and discovered that in order for you to upload an 
 offline conversion to a conversion type defined in your MCC, the MCC had to 
 have been set as the conversion account *as of the time of the click*. In 
 your particular case, I believe you changed the conversion account to the 
 MCC recently, hence the INVALID_CONVERSION_TYPE error for clicks that 
 occurred prior to that change. You will only be able to upload those clicks 
 to conversion types defined on the AdWords account itself.

 I'm still trying to determine if this is a change in behavior. I'll post 
 back here as soon as I have more info.

 Cheers,
 Josh, AdWords API Team

 On Thursday, June 5, 2014 10:58:43 AM UTC-4, mob...@glomedia.eu wrote:

 Done!

 On Wednesday, June 4, 2014 10:29:49 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Gerard,

 Could you send the following *only to me* by clicking *Reply to Author* on 
 this message?

 1. The customer ID of the AdWords account
 2. The customer ID of the MCC account or AdWords account where you 
 created the Conversion (if different from #1)
 3. SOAP requests and responses from your latest attempt

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 4:23:00 PM UTC-4, mob...@glomedia.eu wrote:

 I am setting the correct clientCustomerId and the Conversion is set to 
 import.

 Greetings, Gerard

 On Wednesday, June 4, 2014 9:47:30 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Sorry if I wasn't clear, but my point was you should have the 
 *AdWords* account ID in the header, *not* the MCC account ID. Please 
 give that a try and update this thread if you still have problems.

 One other note: make sure that the conversion you are specifying by 
 name in your request is an offline conversion (*Source* = *Import* in 
 the UI).

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 3:43:12 PM UTC-4, mob...@glomedia.eu wrote:

 When I set NO credentials (just the developer token):
 
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 When I set the incorrect clientCustomerId credentials:
 
 Message: [OfflineConversionError.UNAUTHORIZED_USER @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.UNAUTHORIZED_USER
 api_error_type: OfflineConversionError
 reason: UNAUTHORIZED_USER
 xsi_type: OfflineConversionError

 When I set the correct clientCustomerId credentials:
 ==
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 I don't know where I can find my MCC account_id, so I haven't tested 
 it.

 Thanks!




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

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


Re: OfflineConversionError.INVALID_CONVERSION_TYPE but the conversion name is there

2014-06-06 Thread mobster
So, according to the docs I have to wait until tomorrow to see if I can 
convert this click?
Could you confirm the clickid was created on the MCC account?

Greetings, Gerard

On Friday, June 6, 2014 9:52:00 AM UTC+2, mob...@glomedia.eu wrote:

 Hi Josh, 

 when I try and convert a more recent one, I get: 
 {s2s_tracker=CK6FtOblq74CFe9r7AodQE8AJw, signed_at=2014-06-05 
 00:01:05 UTC}
 Message: [OfflineConversionError.TOO_RECENT_CLICK @ operations[0].operand]
 Errors:
 Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.TOO_RECENT_CLICK
 api_error_type: OfflineConversionError
 reason: TOO_RECENT_CLICK
 xsi_type: OfflineConversionError

 Greetings, Gerard

 On Thursday, June 5, 2014 11:04:45 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Gerard,

 I did some digging and discovered that in order for you to upload an 
 offline conversion to a conversion type defined in your MCC, the MCC had to 
 have been set as the conversion account *as of the time of the click*. 
 In your particular case, I believe you changed the conversion account to 
 the MCC recently, hence the INVALID_CONVERSION_TYPE error for clicks that 
 occurred prior to that change. You will only be able to upload those clicks 
 to conversion types defined on the AdWords account itself.

 I'm still trying to determine if this is a change in behavior. I'll post 
 back here as soon as I have more info.

 Cheers,
 Josh, AdWords API Team

 On Thursday, June 5, 2014 10:58:43 AM UTC-4, mob...@glomedia.eu wrote:

 Done!

 On Wednesday, June 4, 2014 10:29:49 PM UTC+2, Josh Radcliff (AdWords API 
 Team) wrote:

 Hi Gerard,

 Could you send the following *only to me* by clicking *Reply to Author* on 
 this message?

 1. The customer ID of the AdWords account
 2. The customer ID of the MCC account or AdWords account where you 
 created the Conversion (if different from #1)
 3. SOAP requests and responses from your latest attempt

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 4:23:00 PM UTC-4, mob...@glomedia.eu wrote:

 I am setting the correct clientCustomerId and the Conversion is set to 
 import.

 Greetings, Gerard

 On Wednesday, June 4, 2014 9:47:30 PM UTC+2, Josh Radcliff (AdWords 
 API Team) wrote:

 Sorry if I wasn't clear, but my point was you should have the 
 *AdWords* account ID in the header, *not* the MCC account ID. Please 
 give that a try and update this thread if you still have problems.

 One other note: make sure that the conversion you are specifying by 
 name in your request is an offline conversion (*Source* = *Import* in 
 the UI).

 Cheers,
 Josh, AdWords API Team

 On Wednesday, June 4, 2014 3:43:12 PM UTC-4, mob...@glomedia.eu 
 wrote:

 When I set NO credentials (just the developer token):
 
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 When I set the incorrect clientCustomerId credentials:
 
 Message: [OfflineConversionError.UNAUTHORIZED_USER @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.UNAUTHORIZED_USER
 api_error_type: OfflineConversionError
 reason: UNAUTHORIZED_USER
 xsi_type: OfflineConversionError

 When I set the correct clientCustomerId credentials:
 ==
 Message: [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
 operations[0].operand]
 Errors:
   Error [1]:
 field_path: operations[0].operand
 trigger:
 error_string: OfflineConversionError.INVALID_CONVERSION_TYPE
 api_error_type: OfflineConversionError
 reason: INVALID_CONVERSION_TYPE
 xsi_type: OfflineConversionError

 I don't know where I can find my MCC account_id, so I haven't tested 
 it.

 Thanks!




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

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

Re: Issues with adding production partition in shopping campaign with API

2014-06-06 Thread aroxotest18
Hi,

Thanks for the reply, i just tried with the below 

--

$helper = new ProductPartitionHelper($var_adgroup_id);

$root = $helper-createSubdivision2();

$helper-createUnit($root, new ProductOfferId (gs-001), 10);

$result = $adGroupCriterionService-mutate($helper-getOperations());

-
*AddProductPartitionTree*


 public function createSubdivision2(ProductPartition $parent = null,
  ProductDimension $value = null) {
$division = new ProductPartition('SUBDIVISION');
$division-id = $this-nextId--;

// The root node has neither a parent nor a value
if (!is_null($parent)) {
  $division-parentCriterionId = $parent-id;
  $division-caseValue = $value;
}

$criterion = new BiddableAdGroupCriterion();
$criterion-adGroupId = $this-adGroupId;
$criterion-criterion = $division;

$this-createUpdateOperation($criterion);

return $division;
  }

private function createUpdateOperation(AdGroupCriterion $criterion) {
$operation = new AdGroupCriterionOperation();
$operation-operand = $criterion;
$operation-operator = 'SET';
$this-operations[] = $operation;
  }



It through the eror - criterion parent id NOT VALID



 if (!is_null($parent)) {
  $division-parentCriterionId = $parent-id;
  $division-caseValue = $value;
}

The Above is Causing the ISSUE ?

The Adgroup Product partition have the ID ?  if yes, how can we get that ID 

Thanks 


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

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


Any plans for Engagement Ads via the API?

2014-06-06 Thread Georg Döhring
Hi there,

in Dezember, Google announced the Engagement Ads for Everyone 
(http://adwords.blogspot.de/2013/12/engagement-ads-for-everyone.html).

Are there any plans if and when these ads and their statistics will be 
available via the API?


Best regards,
Georg

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Is it possible to download bulk of data?

2014-06-06 Thread miho . maeyama
Hi All,

Is there a way to download bulk data (e.g get multiple campaigns, groups, 
keywords, ads at once?) with Google API? 
Currently, we have download campaigns first, then for each campaigns, we 
download its groups, then for each groups we download its keywords,...Do in 
this sequentially is quite slow in case we need to download alot of 
campaigns.  

Thanks
Hong

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Issues with adding production partition in shopping campaign with API

2014-06-06 Thread aroxotest18
Hi,

i got the parentcritition id of product partition using  Adgroupcritition 
get selector 

now is the way to Empty the Exisitng Product partition by this id and SET 
new list ?

Thanks

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

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


Information request

2014-06-06 Thread team
Hi, 

Thank you for contacting us.

If you are a member of our site, please log in to your account and submit your 
request through the help system. Or, alternatively, you may send your request 
from the email address you have registered on your profile with us.

If you are not a member with any of our site and wish to contact us for further 
information, please visit the Contact Us page to use the guest information 
request submission.

For general enquiries regarding advertising or marketing, please email 
advertis...@cupidmedia.com.  If you are interested in our Affiliate Program, 
please email affilia...@cupidmedia.com or visit our affiliates home page 
http://affiliates.cupidmedia.com and follow the links to register your interest.

Regards,

CupidMedia 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.
For more options, visit https://groups.google.com/d/optout.


Can't set DYNAMIC_IMAGE MediaType when uploading animated GIF image via MediaService

2014-06-06 Thread Chingiz Aitkul
Hi there, I am trying to upload an animated GIF Image via upload() method 
of MediaService using example code provided with Java library for AdWords 
API. When I upload a static GIF or JPEG file it works ok.

When I try to upload an animated GIF Image, the Service replies with a 
MediaID without any errors, but when I query for all available media files, 
I don't recieve any entries for the animated GIF Images, only the static 
Image Uploads I retrieved.

I noticed that in the example code 
(adwords.axis.v201402.misc.UploadImage.java) the MediaType of the Image is 
set before uploading to MediaMediaType,IMAGE. So I Change it to 
MediaMediaType.DYNAMIC_IMAGE, and when I do so, I get the following error.

Could you please advice, if this is a bug or I am doing something wrong 
here?

*?xml version=1.0 encoding=UTF-8?soap:Envelope xmlns:soap=*
*http://schemas.xmlsoap.org/soap/envelope/* 
http://schemas.xmlsoap.org/soap/envelope/

*soap:HeaderResponseHeader xmlns=*
*https://adwords.google.com/api/adwords/cm/v201402* 
https://adwords.google.com/api/adwords/cm/v201402












*
requestId0004fb2cc9f931980ae06184c4000fa2/requestId
serviceNameMediaService/serviceName
methodNameupload/methodName
operations1/operations
responseTime600/responseTime/ResponseHeader
/soap:Headersoap:Bodysoap:Fault
faultcodesoap:Server/faultcode
faultstring[MediaError.UNSUPPORTED_OPERATION @ 
media[0].type]/faultstringdetail
ApiExceptionFault xmlns=*
*https://adwords.google.com/api/adwords/cm/v201402* 
https://adwords.google.com/api/adwords/cm/v201402


*message[MediaError.UNSUPPORTED_OPERATION @ 
media[0].type]/message
ApplicationException.TypeApiExceptionException in thread main 
/ApplicationException.Typeerrors xmlns:xsi=*
*http://www.w3.org/2001/XMLSchema-instance* 
http://www.w3.org/2001/XMLSchema-instance










* xsi:type=MediaError
fieldPathmedia[0].type/fieldPath
trigger/
errorStringMediaError.UNSUPPORTED_OPERATION/errorString 
   
ApiError.TypeMediaError/ApiError.Type
reasonUNSUPPORTED_OPERATION/reason
/errors/ApiExceptionFault/detail
/soap:Fault/soap:Body/soap:Envelope*







*AxisFault faultCode: 
{http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: 
 faultString: [MediaError.UNSUPPORTED_OPERATION @ 
media[0].type] faultActor:  faultNode:  faultDetail: 
 
{https://adwords.google.com/api/adwords/cm/v201402}ApiExceptionFault:message[MediaError.UNSUPPORTED_OPERATION
 
@ 
media[0].type]/messageApplicationException.TypeApiException/ApplicationException.Typeerrors
 
xmlns:xsi=**http://www.w3.org/2001/XMLSchema-instance* 
http://www.w3.org/2001/XMLSchema-instance* 
xsi:type=MediaErrorfieldPathmedia[0].type/fieldPathtrigger/errorStringMediaError.UNSUPPORTED_OPERATION/errorStringApiError.TypeMediaError/ApiError.TypereasonUNSUPPORTED_OPERATION/reason/errors*




















































*[MediaError.UNSUPPORTED_OPERATION @ media[0].type] at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
 at 
java.lang.reflect.Constructor.newInstance(Constructor.java:408) at 
java.lang.Class.newInstance(Class.java:433) at 
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:104) 
at 
org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer.java:90) 
at 
com.google.api.ads.adwords.axis.v201402.cm.ApiException.getDeserializer(ApiException.java:143)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at 
java.lang.reflect.Method.invoke(Method.java:483) at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
 at 
org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
 at 
org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
 at 
org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
 at 
org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
 at 
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
 at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
 at 

Re: API Rate Limit (RateExceededError): Is it Developer token based or MCC Account Based?

2014-06-06 Thread Ricky Cortopassi
I am having the same issue regarding the RATE LIMIT - billing per day . We 
applied for standard access, however - how can you tell if you have 
standard access or basic . I think that the soap response should have num 
operations as 0 if it is standard access, and the basic should have the num 
operations of the 10,000 used if basic . Is this correct. ? 

Thanks 

On Tuesday, June 3, 2014 3:37:27 PM UTC-5, Sudi Gopinath wrote:

 I am trying to understand how  RateExceededError(s) are associated with 
 MCC accounts and Developer Tokens.

 My application uses a single developer token to pull various reports from 
 AdWords (Keyword Performance, Ad Performance etc.) across multiple MCC 
 accounts. During some large pulls across multiple accounts/campaigns I get 
 a RateExceededError - RateExceededError rateName=BillingPerDay, 
 rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400

 1. Since this is a BillingPerDay rate name, does this mean that it is 
 associated with my developer token? 
 2. If so, can I upgrade my developer token rate limit?
 3. The retryAfterSeconds = 86400 which is 24 hours (whoa!). Is there any 
 way around this as a stop gap?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: TargetError.CANNOT_TARGET_PARTNER_SEARCH_NETWORK

2014-06-06 Thread David Walsh
Hi,

Can you provide more details on the type of accounts for which this setting 
can be enabled through the API?

Thanks,
David

On Wednesday, May 1, 2013 1:29:51 AM UTC-4, Takeshi Hagikura (AdWords API 
Team) wrote:

 Hi,

 As mentioned in the docs, partner networks can be used for some specific 
 accounts. 
 And it's not possible to enable it through API.
 Please remove that setting from the request.

 Best,
 - Takeshi, AdWords API Team


 On Tuesday, April 30, 2013 5:28:44 PM UTC+9, Matej Kloska wrote:

 Hi,
 is it possible to enable partner networks through API?

 I'm still getting error TargetError.CANNOT_TARGET_PARTNER_SEARCH_NETWORK
 and in documentation is mentioned, that it is available to only some 
 specific Google partner accounts.
 What does it mean?

 Client library: AW API PHP 4.2.2
 Version: v201302



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Sequential Liability with AdWords API is possible?

2014-06-06 Thread Ramon Thurler Palomo
I want to create an application where I can receive the payment through my 
website and then transfer part of it to Google. But I need to do it 
automatically. For example, the customer pays $20, then (using API) it 
holds $1 for me and add $19 to my customer account in my MCC. Is that 
possible?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Refresh token not being returned in oauth2info

2014-06-06 Thread Mike Swan
Hi All,

I have scoured the group and the Internet (SO, etc.) and I can't find any 
direction.  For some reason a refresh token is not being returned through 
the API along with the access token.  

My auth URL looks like this:
https://accounts.google.com/o/oauth2/auth?state=10response_type=codeclient_id=.apps.googleusercontent.comredirect_uri=http%3A%2F%2Fdomain.com%2Fapi%2Foauth2return-Adwords.phpscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline

It returns this:

http://domain.com/api/oauth2return-Adwords.php?state=10code=xxx

Which gets put through this script:

$callbackUrl = http://domain.com/api/oauth2return-Adwords.php;;
 
// Create a new user and set the oAuth settings
$user = new AdWordsUser();
$user-SetOAuth2Info(array(
client_id = 'xxx.apps.googleusercontent.com',
client_secret = xxx
));

$authCode = $_REQUEST['code'];

$OAuth2Handler = $user-GetOAuth2Handler();
$user-SetOAuth2Info($OAuth2Handler-GetAccessToken($user-GetOAuth2Info(), 
$authCode, $callbackUrl));

Everything works fine, but this is all I am getting back:

[oauth2Info:AdsUser:private] = Array

(

[client_id] = .apps.googleusercontent.com

[client_secret] = xxx

[access_token] = ya29.x

[token_type] = Bearer

[expires_in] = 3599

[timestamp] = 1401998014

)

So I can pull the data I need, but I have to reauthorize every time.  This 
is using an MCC.  Is there something I am missing?  

Thanks for your help.

Mike


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to download bulk of data?

2014-06-06 Thread Josh Radcliff (AdWords API Team)
Hi Hong,

The fastest and most streamlined way to do this is to use reporting as 
described in the Structure Reports Guide 
https://developers.google.com/adwords/api/docs/guides/structure-reports.

If you decide to still use the SOAP services, keep in mind that you are not 
limited to pulling data one campaign or one ad group at a time. For 
example, when pulling ad groups from the AdGroupService 
https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupService,
 
you can create a predicate that uses the *IN *operator to select ad groups 
for multiple campaign IDs at once.

Cheers,
Josh, AdWords API Team

On Friday, June 6, 2014 5:37:57 AM UTC-4, miho.m...@gmail.com wrote:

 Hi All,

 Is there a way to download bulk data (e.g get multiple campaigns, groups, 
 keywords, ads at once?) with Google API? 
 Currently, we have download campaigns first, then for each campaigns, we 
 download its groups, then for each groups we download its keywords,...Do in 
 this sequentially is quite slow in case we need to download alot of 
 campaigns.  

 Thanks
 Hong


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Questions about Shared Bidding implementation

2014-06-06 Thread Josh Radcliff (AdWords API Team)
Hi,

Please see my answers in blue below.

Cheers,
Josh, AdWords API Team

On Friday, June 6, 2014 1:11:43 AM UTC-4, Hudar wrote:

 Hi,

 We have some questions about shared bidding. May we got some feedback for 
 the following :

 -  If we created a bidding strategy using BiddingStrategyService, would 
 the bidding strategy be usable for both adgroup and campaign?

Yes, by setting the biddingStrategyConfiguration's biddingStrategyId 
https://developers.google.com/adwords/api/docs/reference/v201402/AdGroupService.BiddingStrategyConfiguration#biddingStrategyId
.
 

 -  Could we create 1 shared bidding, then assign it to Campaign A, and an 
 adgroup of Campaign B

Yes 

 -  Could we use shared bidding for Campaign, and decided to use non-shared 
 bidding for adgroup?

Yes 

 -  Could we still create standard campaign without shared bidding on 
 v201402?

Yes -- in fact, that's what we do in our AddCampaigns 
https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201402/basicoperations/AddCampaigns.java#L115
 
example. 


 I just trying to understand different use case for shared bidding.

 Thanks, and hope the questions is clear enough.





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: PHP Client Library: An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null']

2014-06-06 Thread testapi
Hello Ray,

I have the same problem

Can you Help me?

MCC: 578-108-6972
Test MCC: 252-922-6883
Adwords account inside Test MCC: 473-145-2216


Regards,
Benjamin Gomez


On Tuesday, March 18, 2014 4:05:28 AM UTC-6, c...@clickbits.de wrote:

 Hello,

 using the PHP Client Library for the Google AdWords API I get the 
 following Error: *An error has occurred: 
 [QuotaCheckError.INCOMPLETE_SIGNUP @ ; trigger:'null']*

 But step by step:
 - First I generate a productive MCC Account and get an API developer token 
 (Now it's pending) and fill out the billing information and accept the 
 terms and conditions.
 - Then I generate a MCC Test Account and in the MCC test account an 
 AdWords test account. 
 - In the Google Adwords API Source Code (in the file auth.ini) I put in 
 the developer Token from the productive MCC, the userAgent (name of my 
 company), the clientCustomerId from my test AdWords account and my 
 client_id and client_secret which I generated via the Google Developer 
 Console.
 - Then I run the GetRefreshToken.php on the Terminal and get an URL. I 
 copied these URL in the browser and get the code, which I put in the 
 Terminal to get the refresh_token for the auth.ini
 - At least I run the GetCampaigns.php in the Terminal and get the Error 
 Message: *An error has occurred: [QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
 trigger:'null']*

 Some Ideas? What can I do?

 Every solution I found is like fill out the billing information und 
 accect terms and conditions. But in my opinion i did these!!


 Thank you! Greetings from germany!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.


Re: Refresh token not being returned in oauth2info

2014-06-06 Thread Josh Radcliff (AdWords API Team)
Hi Mike,

This is, admittedly, a bit of a wild guess, but I noticed that when I went 
through the refresh token example my auth URL did *not* include a *state* 
parameter. 
Maybe give it a shot with that parameter removed?

Cheers,
Josh, AdWords API Team

On Thursday, June 5, 2014 4:53:13 PM UTC-4, Mike Swan wrote:

 Hi All,

 I have scoured the group and the Internet (SO, etc.) and I can't find any 
 direction.  For some reason a refresh token is not being returned through 
 the API along with the access token.  

 My auth URL looks like this:

 https://accounts.google.com/o/oauth2/auth?state=10response_type=codeclient_id=.apps.googleusercontent.comredirect_uri=http%3A%2F%2Fdomain.com%2Fapi%2Foauth2return-Adwords.phpscope=https%3A%2F%2Fadwords.google.com%2Fapi%2Fadwords%2Faccess_type=offline

 It returns this:

 http://domain.com/api/oauth2return-Adwords.php?state=10code=xxx

 Which gets put through this script:

 $callbackUrl = http://domain.com/api/oauth2return-Adwords.php;;
  
 // Create a new user and set the oAuth settings
 $user = new AdWordsUser();
 $user-SetOAuth2Info(array(
 client_id = 'xxx.apps.googleusercontent.com',
 client_secret = xxx
 ));

 $authCode = $_REQUEST['code'];

 $OAuth2Handler = $user-GetOAuth2Handler();
 $user-SetOAuth2Info($OAuth2Handler-GetAccessToken($user-GetOAuth2Info(), 
 $authCode, $callbackUrl));

 Everything works fine, but this is all I am getting back:

 [oauth2Info:AdsUser:private] = Array

 (

 [client_id] = .apps.googleusercontent.com

 [client_secret] = xxx

 [access_token] = ya29.x

 [token_type] = Bearer

 [expires_in] = 3599

 [timestamp] = 1401998014

 )

 So I can pull the data I need, but I have to reauthorize every time.  This 
 is using an MCC.  Is there something I am missing?  

 Thanks for your help.

 Mike




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.