Re: BiddingErrors.BID_TOO_SMALL

2016-06-28 Thread Janak Prajapati
Hi Vishal,

We are also facing the similar issue while creating new adgroups using the 
batchjob method. Do we have any updates on this issue?

Thanks,
Janak

On Thursday, June 23, 2016 at 2:49:10 AM UTC+5:30, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Kiran,
>
> Could you please provide the SOAP XML request and response logs for this 
> issue? Please click on *Reply privately to author *when responding. 
>
> Regards,
> Vishal, 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/39c4e568-c1f6-42a2-aae5-f6f6af1ae64e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: BiddingErrors.BID_TOO_SMALL

2016-06-28 Thread Janak Prajapati


On Thursday, June 23, 2016 at 2:49:10 AM UTC+5:30, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Kiran,
>
> Could you please provide the SOAP XML request and response logs for this 
> issue? Please click on *Reply privately to author *when responding. 
>
> Regards,
> Vishal, 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/625f6153-6db7-4e1c-8092-f65c9f69df12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgraded sitelink feeds final url

2016-04-29 Thread Janak Prajapati
Additional details to the same query -

This is the API response of one of the Sitelink feed item, we are receiving,

object(FeedItem)#4446 (14) {
  ["feedId"]=>
  string(8) "10270XXX"
  ["feedItemId"]=>
  string(9) "124967XXX"
  ["status"]=>
  string(7) "ENABLED"
  ["startTime"]=>
  NULL
  ["endTime"]=>
  NULL
  ["attributeValues"]=>
  array(5) {
[0]=>
object(FeedItemAttributeValue)#4438 (9) {
  ["feedAttributeId"]=>
  string(1) "1"
  ["integerValue"]=>
  NULL
  ["doubleValue"]=>
  NULL
  ["booleanValue"]=>
  NULL
  ["stringValue"]=>
  string(25) "What's New TEST"
  ["integerValues"]=>
  NULL
  ["doubleValues"]=>
  NULL
  ["booleanValues"]=>
  NULL
  ["stringValues"]=>
  NULL
}
[1]=>
object(FeedItemAttributeValue)#4429 (9) {
  ["feedAttributeId"]=>
  string(1) "3"
  ["integerValue"]=>
  NULL
  ["doubleValue"]=>
  NULL
  ["booleanValue"]=>
  NULL
  ["stringValue"]=>
  string(35) "Wholesale Prices Boots"
  ["integerValues"]=>
  NULL
  ["doubleValues"]=>
  NULL
  ["booleanValues"]=>
  NULL
  ["stringValues"]=>
  NULL
}
[2]=>
object(FeedItemAttributeValue)#4432 (9) {
  ["feedAttributeId"]=>
  string(1) "4"
  ["integerValue"]=>
  NULL
  ["doubleValue"]=>
  NULL
  ["booleanValue"]=>
  NULL
  ["stringValue"]=>
  string(31) "Buy all Boots TEST TEXT"
  ["integerValues"]=>
  NULL
  ["doubleValues"]=>
  NULL
  ["booleanValues"]=>
  NULL
  ["stringValues"]=>
  NULL
}
[3]=>
object(FeedItemAttributeValue)#4416 (9) {
  ["feedAttributeId"]=>
  string(1) "7"
  ["integerValue"]=>
  NULL
  ["doubleValue"]=>
  NULL
  ["booleanValue"]=>
  NULL
  ["stringValue"]=>
  string(118) 
"http://secure.mydomain.com/tracking/track.php?c=test=120=test%40gmail.com={lpurl};
  ["integerValues"]=>
  NULL
  ["doubleValues"]=>
  NULL
  ["booleanValues"]=>
  NULL
  ["stringValues"]=>
  NULL
}
[4]=>
object(FeedItemAttributeValue)#4417 (9) {
  ["feedAttributeId"]=>
  string(1) "8"
  ["integerValue"]=>
  NULL
  ["doubleValue"]=>
  NULL
  ["booleanValue"]=>
  NULL
  ["stringValue"]=>
  NULL
  ["integerValues"]=>
  NULL
  ["doubleValues"]=>
  NULL
  ["booleanValues"]=>
  NULL
  ["stringValues"]=>
  array(1) {
[0]=>
string(148) 
"http://www.mydomain.com/collections/Boot?utm_source=google_medium=ppc_content={_sitelink}_campaign={_mycampaign};
  }
}
  }
  ["policyData"]=>
  NULL
  ["devicePreference"]=>
  NULL
  ["scheduling"]=>
  NULL
  ["campaignTargeting"]=>
  NULL
  ["adGroupTargeting"]=>
  NULL
  ["keywordTargeting"]=>
  NULL
  ["geoTargeting"]=>
  NULL
  ["urlCustomParameters"]=>
  NULL
}

On Friday, April 29, 2016 at 7:03:07 PM UTC+5:30, Anil wrote:
>
> Hello,
>
> According to 
> https://developers.google.com/adwords/api/docs/appendix/placeholders#sitelinks
>  
> there are only 7 placeholders available in Sitelink Feed. 
> API Documentation says Final URL should be linked with placeholder 5 and 
> it seems correct when we check for our clients.
>
> But we have one client where Final url comes under Placeholder 8. While 
> changing final url through through API we have applied Final url with 
> placeholder 5 still next time it comes under placeholder 8.
>
> Is there any issues?
>
> Thanks
>
>

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

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


Re: Campaigns Limited by Budget

2016-04-04 Thread Janak Prajapati
Hi Danial,

Any news on this topic - We are looking for this in API.

Thanks,
Janak



On Thursday, February 5, 2015 at 7:34:28 PM UTC+5:30, Danial Klimkin wrote:
>
> Hello Frank,
>
>
> This is still no on the roadmap unfortunately.
>
>
> -Danial, AdWords APi Team.
>
>
> On Tuesday, February 3, 2015 at 12:48:20 PM UTC+3, fru...@adzlocal.de 
> wrote:
>>
>> Hi Danial,
>>
>> are there any news on this topic - I'm also interested in getting this 
>> value via API.
>>
>> Regards
>> Frank
>>
>>
>>
>> Am Donnerstag, 5. September 2013 11:15:34 UTC+2 schrieb Danial Klimkin:
>>>
>>> Hello Rob,
>>>
>>>
>>> I've added this as a feature request but we don't have any date for it 
>>> yet. I don't expect it makes it to the next API version.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Wednesday, September 4, 2013 12:21:44 PM UTC+4, Rob wrote:
>>>>
>>>> Thanks Danial - is there any way to know if this will be added?
>>>>
>>>> On Friday, 2 August 2013 10:18:53 UTC+1, Danial Klimkin wrote:
>>>>>
>>>>> Hello Rob,
>>>>>
>>>>>
>>>>> I can't share exact calculation unfortunately but I'll check if we can 
>>>>> add this flag in the future API versions.
>>>>>
>>>>>
>>>>> -Danial, AdWords API Team.
>>>>>
>>>>>
>>>>> On Friday, August 2, 2013 12:04:52 PM UTC+4, Rob wrote:
>>>>>>
>>>>>> Could somebody at Google please let me know how the "Limited by 
>>>>>> Budget" status is calculated in the AdWords UI?
>>>>>>
>>>>>> We can guess, but our clients expect us to report things in the same 
>>>>>> way as the UI so that's not good enough in the long term.
>>>>>>
>>>>>> Thanks,
>>>>>> Rob.
>>>>>>
>>>>>> On Wednesday, 24 July 2013 15:54:48 UTC+1, Rob wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Is there a way to retrieve the "Limited by Budget" status for a 
>>>>>>> campaign via the API?
>>>>>>>
>>>>>>> If there is, I can't find it in the docs, only the usual campaign 
>>>>>>> status values of "ACTIVE", "PAUSED" and "DELETED".
>>>>>>>
>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/265799fc-b59e-44d3-8bac-6698023e85cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: MutateJobService not passing Adgroup ID with DUPLICATE_ADGROUP_NAME error in v201502

2015-06-04 Thread Janak Prajapati
Hi Josh,

Thanks for your reply. 

I think you misunderstood my query. I am getting the DUPLICATE_ADGROUP_NAME 
error when I am trying to create a new Adgroup so, in that case the 
MutateJob operation itself do not have the Adgroup ID. As we know, once we 
create the Adgroup, we get respective Adgroup ID from Adwords. 

In earlier API versions, we were getting Adgroup ID in the error response 
if we try to create a adgroup which already exist in the Adwords account. 
This behavior helped us to know the Adgroup ID of the duplicate Adgroup 
(without any additional step for finding the Adgroup ID), the automated 
script stores it and continue the insertion of the Ads and keywords in that 
Adgroup using the Adgroup ID. If this behavior is not changed in v201502, 
with the MutateJobService, there might be some technical issue in the API 
system. Can you please confirm it.

For now, as a workaround, we have applied edits in our automated script 
which makes separate API call to get Adgroup ID of the respective Adgroup 
name, if MutateJobService gives the mentioned error. It will help if we can 
prevent this extra API call.


Thanks,
Janak



On Friday, June 5, 2015 at 2:25:18 AM UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 I'm not aware of any changes around this logic in v201502. Populating the 
 ad group ID in the error has always been done on a best-efforts basis, so 
 there hasn't been a guarantee that this will always occur.

 If the ad group ID is critical to your processing, it would be more 
 reliable to use the operations index (38 in your example) to look up the 
 corresponding operation in your mutate job request, and then use the ad 
 group ID contained in that operation.

 Thanks,
 Josh, AdWords API Team

 On Wednesday, June 3, 2015 at 11:15:11 AM UTC-4, Janak Prajapati wrote:

 Hi, 

 We have migrated to v201502 recently and we noticed that, when we get 
 DUPLICATE_ADGROUP_NAME error through MutateJobService, the error detail not 
 including respective Adgroup ID. In the earlier API versions, we were 
 getting Adgroup ID along with the DUPLICATE_ADGROUP_NAME error.

 Here is part of the Soap response with v201502,

 errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 xsi:type=AdGroupServiceError
 fieldPathoperations[38].operand.name/fieldPath
 triggerAdgroup Name Here/trigger
 errorStringAdGroupServiceError.DUPLICATE_ADGROUP_NAME/errorString
 ApiError.TypeAdGroupServiceError/ApiError.Type
 reasonDUPLICATE_ADGROUP_NAME/reason
 /errors

 The Adgroup ID in the error notification was very helpful for our 
 automated script so, wanted to confirm about this change. With this change, 
 we need to made a separate API call to get Adgroup ID of the duplicate 
 adgroup so that, the automated script can continue insertion of Keywords 
 and Ads in the same adgroup.

 Please confirm, is this a bug in v201502 or a permanent change?


 Thanks



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

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


MutateJobService not passing Adgroup ID with DUPLICATE_ADGROUP_NAME error in v201502

2015-06-03 Thread Janak Prajapati
Hi, 

We have migrated to v201502 recently and we noticed that, when we get 
DUPLICATE_ADGROUP_NAME error through MutateJobService, the error detail not 
including respective Adgroup ID. In the earlier API versions, we were 
getting Adgroup ID along with the DUPLICATE_ADGROUP_NAME error.

Here is part of the Soap response with v201502,

errors xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:type=AdGroupServiceError
fieldPathoperations[38].operand.name/fieldPath
triggerAdgroup Name Here/trigger
errorStringAdGroupServiceError.DUPLICATE_ADGROUP_NAME/errorString
ApiError.TypeAdGroupServiceError/ApiError.Type
reasonDUPLICATE_ADGROUP_NAME/reason
/errors

The Adgroup ID in the error notification was very helpful for our automated 
script so, wanted to confirm about this change. With this change, we need 
to made a separate API call to get Adgroup ID of the duplicate adgroup so 
that, the automated script can continue insertion of Keywords and Ads in 
the same adgroup.

Please confirm, is this a bug in v201502 or a permanent change?


Thanks

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

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


Re: How to retrieve disapproval reasons for an ad through the api

2013-11-21 Thread Janak Prajapati
I am using the Ad Performance API Report to get the Disapproved Ads. I see 
that, for some Ads, the AdGroupAdDisapprovalReasons comes as empty. 
However, the Adwords web Interface shows the Trademark related reason.

On Wednesday, November 20, 2013 4:39:34 PM UTC+5:30, Gaurav Agarwal wrote:

 Hi,

 We are trying to retrieve disapproval reasons for an ad rejected which is 
 trademark disapproved and we are not getting anything through the api, 
 while we can see the reasons on UI.

 We are seeing this behaviour for all the ads that are disapproved 
 currently.

 An example soap request-response is as follows. Kindly let us know what we 
 are missing and how to retrieve the disapproval reasons in such cases.

 Thanks and Regards,
 Gaurav


 SOAP LOG : ?xml version=1.0 encoding=UTF-8?soapenv:Envelope 
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; 
 http://schemas.xmlsoap.org/soap/envelope/ 
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; 
 http://www.w3.org/2001/XMLSchema 
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 http://www.w3.org/2001/XMLSchema-instancesoapenv:Headerns1:RequestHeader
  soapenv:actor=http://schemas.xmlsoap.org/soap/actor/next; 
 http://schemas.xmlsoap.org/soap/actor/next soapenv:mustUnderstand=0 
 xmlns:ns1=https://adwords.google.com/api/adwords/cm/v201306; 
 https://adwords.google.com/api/adwords/cm/v201306ns1:clientCustomerId1158401043/ns1:clientCustomerId/ns1:RequestHeader/soapenv:Headersoapenv:Bodyget
  xmlns=https://adwords.google.com/api/adwords/cm/v201306; 
 https://adwords.google.com/api/adwords/cm/v201306serviceSelectorfieldsAdGroupId/fieldsfieldsStatus/fieldsfieldsId/fieldsfieldsUrl/fieldsfieldsDisplayUrl/fieldsfieldsAdGroupCreativeApprovalStatus/fieldsfieldsHeadline/fieldsfieldsDescription1/fieldsfieldsDescription2/fieldsfieldsDevicePreference/fieldsfieldsDisapprovalReasons/fieldspredicatesfieldAdGroupId/fieldoperatorEQUALS/operatorvalues4486137122/values/predicatespredicatesfieldId/fieldoperatorEQUALS/operatorvalues27087061322/values/predicates/serviceSelector/get/soapenv:Body/soapenv:Envelope

 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/v201306; 
 https://adwords.google.com/api/adwords/cm/v201306requestId0004eb954cfbde800a42f8a7133a/requestIdserviceNameAdGroupAdService/serviceNamemethodNameget/methodNameoperations0/operationsresponseTime172/responseTime/ResponseHeader/soap:Headersoap:BodygetResponse
  xmlns=https://adwords.google.com/api/adwords/cm/v201306; 
 https://adwords.google.com/api/adwords/cm/v201306rvaltotalNumEntries1/totalNumEntriesPage.TypeAdGroupAdPage/Page.TypeentriesadGroupId4486137122/adGroupIdad
  xsi:type=TextAd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
 http://www.w3.org/2001/XMLSchema-instanceid27087061322/idurlhttp://m.nextag.com/goto.jsp?p={ifsearch:355840}{ifcontent:352182}amp;search={keyword}amp;t=ag%3D4486137122amp;crid=50608amp;gg_param1={param1}amp;gg_ace={aceid}amp;gg_mt={matchtype}amp;gg_aid={creative}amp;gg_param2={param2}amp;gg_target={target}amp;gg_net={network}amp;gg_adpos={adposition}amp;gg_rand={random}amp;gg_dev={device}amp;gg_site={placement}amp;gg_dm={devicemodel}/urldisplayUrlwww.NexTag.com/Epson-CX4800-Ink/displayUrldevicePreference30001/devicePreferenceAd.TypeTextAd/Ad.TypeheadlineEpson
  CX4800 Ink Bargains/headlinedescription1Find Great Deals on Epson 
 Stylus/description1description2CX4800 Ink Cartridges. Many 
 Colors!/description2/adstatusENABLED/statusapprovalStatusDISAPPROVED/approvalStatustrademarkDisapprovedtrue/trademarkDisapprovedstatsnetworkSEARCH/networkStats.TypeAdStats/Stats.TypepercentServed0.0/percentServed/stats/entries/rval/getResponse/soap:Body/soap:Envelope





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.


AdWords API Re: EntityNotFound.INVALID_ID

2010-03-31 Thread Janak
I have experience the same issue in the Sandbox with php lib example -
UpdateAdGroup.php file.

I had created a new Adgroup in the Sandbox and while I am updating it,
I am getting the same error message.

I have found that this is the problem with PHP,

The PHP language does not support the 64 bit long data type. The
maximum integer value in PHP is 2147483647. This limitation can cause
PHP applications to generate bad requests if the ID element is larger
than 2147483647.

$AdgroupId = 9; // BAD. Generates request with
campaignID 2147483647

I got two options to fix this:

1. $AdgroupId = (float) 9; // SAFE - If ID is
represented as a string variable

2. $AdgroupId = 9; // Safe - If ID is represented as a
numeric variable

Thanks,

: Janak

On Mar 19, 1:43 pm, Mike i...@webtraffics.de wrote:
 ok. i have done:

 Original Code in PHP lib:
   // Get the AdGroupAdService.
   $adGroupAdService = $user-GetAdGroupAdService('v200909');
   $adGroupId = '3121652289';

 Fix:
   // Get the AdGroupAdService.
   $adGroupAdService = $user-GetAdGroupAdService('v200909');
   $foo = '3121652289';
   $adGroupId = (float)$foo;

 if someone know better fix, let me know.

 Regards Mike

 On 18 Mrz., 19:38, Mike i...@webtraffics.de wrote:

  I experience the same problem in Sandbox with php lib.
   My code is based on examples/AddAds.php.
  Basicly I just changes  $adGroupId='3121652289'.
   SoapFault Object ( [message:protected] = [EntityNotFound.INVALID_ID
  @ operations[0].operand.adGroupId; trigger:'AdGroupId: 2147483647']

  I can create campains and groups, but not ads.

  Regards Mike

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

To unsubscribe, reply using remove me as the subject.