AuthenticationError.LOGIN_COOKIE_REQUIRED @ ; trigger:

2014-06-03 Thread Gopi
I am using java client and I guess the access token is refresh 
automatically and need no manual intervention. Am i wrong?

Thanks
Gopi

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Exception: Missing SoapHeader

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

That's interesting - I haven't heard of this happening before. Could you 
share the code you're using to create and submit your requests? If you'd 
prefer, you can send it only to me by clicking *Reply to Author*. Also, it 
would be good to know if you are running in a multi-threaded environment 
and if so, which objects you are sharing across threads.

Thanks,
Josh, AdWords API Team

On Tuesday, June 3, 2014 1:40:21 PM UTC-4, Gopi wrote:
>
> Josh, 
>
>We are using client libraries -  googleads-java-lib-v1.26.0 
> 
>
> Thanks
> Gopi
>
> On Tuesday, June 3, 2014 7:59:41 AM UTC-7, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Gopi,
>>
>> Are you using one of the client libraries 
>> ? If the 
>> request below is your complete request, it is indeed missing the SOAP 
>> header, as the error indicates.
>>
>> If you are using of the client libraries then I'd be interesting in 
>> knowing which one you are using (including the version) and whether you 
>> recently downloaded a newer version of the library.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>>>
>>> I am getting the below soap response and it doesn't happen all the time. 
>>> If i retry it will proceed as normal, there is no change in the code. Is 
>>> there anything i am missing?
>>>
>>> Soap Response: 
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>> 
>>> 
>>> soap:Server
>>> Missing SoapHeader while invoking public 
>>> abstract 
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>>>  
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>>>  
>>> throws 
>>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>>>  
>>> with params 
>>> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
>>> 
>>> 
>>> 
>>>
>>>
>>> Soap Request:
>>>
>>> 
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance";>
>>>  
>>>   https://adwords.google.com/api/adwords/cm/v201309";>
>>>
>>> AgeRangeType
>>> CampaignId
>>> CarrierCountryCode
>>> CarrierName
>>> ContentLabelType
>>> CriteriaType
>>> DisplayType
>>> GenderType
>>> GeoPoint
>>> Id
>>> KeywordMatchType
>>> KeywordText
>>> LanguageCode
>>> LanguageName
>>> LocationName
>>> Operand
>>> ParentLocations
>>> Path
>>> PlacementUrl
>>> PlatformName
>>> 
>>>  CampaignId
>>>  EQUALS
>>>  142981910
>>> 
>>> 
>>>  0
>>>  1000
>>> 
>>>
>>>   
>>>  
>>> 
>>>
>>>
>>> Thanks
>>> Gopi
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-03 Thread Josh Radcliff (AdWords API Team)
Hi Luca,

The only way I'm aware of is to use CLICK_PERFORMANCE_REPORT 
, 
although you can only run that report for one day and one account at a 
time. If all you have is the MCC, the click ID, and a rough estimate of the 
date on which the click occurred, you could do the following:

- Let clickAccountMap = new Map
- Use an ACCOUNT_PERFORMANCE_REPORT 

 or ManagedCustomerService.get 

 to 
get the account IDs of each of the MCC's child accounts
- For each child account:
   -- For each date in the date range of interest:
  -- Run a CLICK_PERFORMANCE_REPORT for the account and date and add 
the click and account to clickAccountMap
- Use clickAccountMap to construct your OfflineConversionFeedService 

 calls 
(separate invocations for each account)

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


Re: OfflineConversionError.INVALID_CONVERSION_TYPE but the conversion name is there

2014-06-03 Thread Luca Fiaschi
Hi Josh, 
Unfortunately our customer did not store the information regarding the click 
Adwords account. Is it possible to query this information to Adwords anyhow?
Thanks

--
This mail was written on a iPhone keyboard, I apologize if the message is terse 
and for any spelling mistake  

> Il giorno 03/giu/2014, alle ore 23:41, "Josh Radcliff (AdWords API Team)" 
>  ha scritto:
> 
> Hi,
> 
> Gerard: It looks like you do not have the conversion account set to the MCC 
> for the AdWords accounts under the MCC. See the following Help Center article 
> for details:
> 
> https://support.google.com/adwords/answer/3061730
> 
> (Note: I marked your other post as a duplicate of this post so we can 
> consolidate all of the Q&A here.)
> 
> Luca: In your request you are specifying the MCC account in the 
> clientCustomerId SOAP header. Please modify your request so that you pass the 
> click's AdWords account instead. You may want to check out the Help Center 
> article as well to make sure you have the conversion account set up properly.
> 
> Cheers,
> Josh, AdWords API Team
> 
>> On Tuesday, June 3, 2014 4:11:48 AM UTC-4, mob...@glomedia.eu wrote:
>> I'm running in the exact same problems :/
>> I can make the conversion labels from the api and see them show up in the 
>> interface as well.
>> Also i can list the labels from the api, they show up.
>> But as soon as i want to upload data  to it , it returns the 
>> OfflineConversionError.INVALID_CONVERSION_TYPE.
>> 
>> I read somewhere that it might take up to 6 hours before the new labels have 
>> been synced.
>> I've waited for over 24 hours but still get the same result.
>> 
>> Gerard.
>> 
>>> On Friday, May 30, 2014 12:19:52 PM UTC+2, Luca Fiaschi wrote:
>>> Hi All I am getting a very similar error to this post:
>>> https://groups.google.com/forum/#!topic/adwords-api/xb8X9Ucsv80
>>> 
>>> reading that forum seems that the error was internally fixed by Google at 
>>> the beginning of the month however I still get the following problem:
>>> 
>>> I am uploading the conversion using a client created using the top level 
>>> country MCC of my company:
>>> The conversion labels are were correctly uploaded
>>> 
>>> (UploadConversion){
>>> id = 18258763
>>> name = "attributed conversion"
>>> status = "ENABLED"
>>> category = "PURCHASE"
>>> stats = 
>>>(ConversionTrackerStats){
>>>   numConversionEvents = 0
>>>   conversionValue = 
>>>  (Money){
>>> ComparableValue.Type = "Money"
>>> microAmount = 0
>>>  }
>>>   numConvertedClicks = 0
>>>}
>>> viewthroughLookbackWindow = 30
>>> isProductAdsChargeable = False
>>> productAdsChargeableConversionWindow = 30
>>> ctcLookbackWindow = 30
>>> countingType = "MANY_PER_CLICK"
>>> defaultRevenueValue = 1.0
>>> alwaysUseDefaultRevenueValue = False
>>> ConversionTracker.Type = "UploadConversion"
>>>   }, (UploadConversion){
>>> id = 18258883
>>> name = "attributed revenue"
>>> status = "ENABLED"
>>> category = "PURCHASE"
>>> stats = 
>>>(ConversionTrackerStats){
>>>   numConversionEvents = 0
>>>   conversionValue = 
>>>  (Money){
>>> ComparableValue.Type = "Money"
>>> microAmount = 0
>>>  }
>>>   numConvertedClicks = 0
>>>}
>>> viewthroughLookbackWindow = 30
>>> isProductAdsChargeable = False
>>> productAdsChargeableConversionWindow = 30
>>> ctcLookbackWindow = 30
>>> countingType = "MANY_PER_CLICK"
>>> defaultRevenueValue = 1.0
>>> alwaysUseDefaultRevenueValue = False
>>> ConversionTracker.Type = "UploadConversion"
>>>   }]
>>> 
>>> 
>>> 
>>> However I still get the following errors:
>>> 
>>>  {'googleClickId': u'CLbJ6ueQir0CFe9U4godVVgAGA', 'conversionValue': 
>>> 0.0037593984962406, 'conversionTime': '20140526 163528 +0800', 
>>> 'conversionName': u'attributed conversion'} 
>>> has failed with error (OfflineConversionError){
>>>fieldPath = "operations[984].operand"
>>>trigger = None
>>>errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
>>>ApiError.Type = "OfflineConversionError"
>>>reason = "INVALID_CONVERSION_TYPE"
>>>  }
>>> 
>>> 
>>> How is this possible?
>>> 
>>> 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 bec

Re: OfflineConversionError.INVALID_CONVERSION_TYPE but the conversion name is there

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

*Gerard:* It looks like you do not have the conversion account set to the 
MCC for the AdWords accounts under the MCC. See the following Help Center 
article for details:

https://support.google.com/adwords/answer/3061730

(Note: I marked your other post as a duplicate of this post so we can 
consolidate all of the Q&A here.)

*Luca: *In your request you are specifying the *MCC* account in the 
*clientCustomerId* SOAP header. Please modify your request so that you pass 
the click's AdWords account instead. You may want to check out the Help 
Center article as well to make sure you have the conversion account set up 
properly.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 4:11:48 AM UTC-4, mob...@glomedia.eu wrote:
>
> I'm running in the exact same problems :/
> I can make the conversion labels from the api and see them show up in the 
> interface as well.
> Also i can list the labels from the api, they show up.
> But as soon as i want to upload data  to it , it returns 
> the OfflineConversionError.INVALID_CONVERSION_TYPE.
>
> I read somewhere that it might take up to 6 hours before the new labels 
> have been synced.
> I've waited for over 24 hours but still get the same result.
>
> Gerard.
>
> On Friday, May 30, 2014 12:19:52 PM UTC+2, Luca Fiaschi wrote:
>>
>> Hi All I am getting a very similar error to this post:
>> https://groups.google.com/forum/#!topic/adwords-api/xb8X9Ucsv80
>>
>> reading that forum seems that the error was internally fixed by Google at 
>> the beginning of the month however I still get the following problem:
>>
>> I am uploading the conversion using a client created using the top level 
>> country MCC of my company:
>> The conversion labels are were correctly uploaded
>>
>> (UploadConversion){
>> id = 18258763
>> name = "attributed conversion"
>> status = "ENABLED"
>> category = "PURCHASE"
>> stats = 
>>(ConversionTrackerStats){
>>   numConversionEvents = 0
>>   conversionValue = 
>>  (Money){
>> ComparableValue.Type = "Money"
>> microAmount = 0
>>  }
>>   numConvertedClicks = 0
>>}
>> viewthroughLookbackWindow = 30
>> isProductAdsChargeable = False
>> productAdsChargeableConversionWindow = 30
>> ctcLookbackWindow = 30
>> countingType = "MANY_PER_CLICK"
>> defaultRevenueValue = 1.0
>> alwaysUseDefaultRevenueValue = False
>> ConversionTracker.Type = "UploadConversion"
>>   }, (UploadConversion){
>> id = 18258883
>> name = "attributed revenue"
>> status = "ENABLED"
>> category = "PURCHASE"
>> stats = 
>>(ConversionTrackerStats){
>>   numConversionEvents = 0
>>   conversionValue = 
>>  (Money){
>> ComparableValue.Type = "Money"
>> microAmount = 0
>>  }
>>   numConvertedClicks = 0
>>}
>> viewthroughLookbackWindow = 30
>> isProductAdsChargeable = False
>> productAdsChargeableConversionWindow = 30
>> ctcLookbackWindow = 30
>> countingType = "MANY_PER_CLICK"
>> defaultRevenueValue = 1.0
>> alwaysUseDefaultRevenueValue = False
>> ConversionTracker.Type = "UploadConversion"
>>   }]
>>
>>
>>
>>
>> However I still get the following errors:
>>
>>
>>  {'googleClickId': u'CLbJ6ueQir0CFe9U4godVVgAGA', 'conversionValue': 
>> 0.0037593984962406, 'conversionTime': '20140526 163528 +0800', 
>> 'conversionName': u'attributed conversion'} 
>>
>> has failed with error (OfflineConversionError){
>>fieldPath = "operations[984].operand"
>>trigger = None
>>errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
>>ApiError.Type = "OfflineConversionError"
>>reason = "INVALID_CONVERSION_TYPE"
>>  }
>>
>>
>>
>> How is this possible?
>>
>>
>> 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.


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

2014-06-03 Thread Sudi Gopinath
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 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: Linking MCC to another MCC - ManagedCustomerLink Error

2014-06-03 Thread fischi
Thank you so much for this information there. You helped me out - I got 
confused with the mutate and mutateLink parts.

calling
$result = $managedCustomerService->mutateLink( $operations );

solved the issue, and everything runs smoothly now :)

Cheers,

Thomas


Am Dienstag, 3. Juni 2014 17:16:08 UTC+2 schrieb Josh Radcliff (AdWords API 
Team):
>
> Hi,
>
> The method you're invoking below is actually ManagedCustomerService.mutate 
> 
>  (not ManagedCustomerService.mutateLink 
> ),
>  
> so it takes a collection of ManagedCustomerOperation 
> s
>  
> where the operand is a ManagedCustomer 
> 
>  (not 
> a ManagedCustomerLink 
> ).
>  
> *ManagedCustomer* does require the fields mentioned in the error.
>
> I'm not a PHP expert, but I'm guessing that it's not type-aware enough to 
> know that the operands you are passing are the wrong type for the method, 
> hence the slightly confusing error.
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, June 3, 2014 1:52:48 AM UTC-4, fischi wrote:
>>
>> Hi all!
>>
>> I am trying to link a MCC to another MCC, using API v. 201402.
>> My script is this:
>>
>> $managedCustomerService = $user->GetService('ManagedCustomerService', 
>> ADWORDS_VERSION);
>>
>> $link = new ManagedCustomerLink();
>> $link->clientCustomerId = get_user_account( $thisuserdata->ID ); // 
>> getting the MCC of the logged in user
>> $link->pendingDescriptiveName = "OMPTools #" . uniqid();
>> $link->linkStatus = 'PENDING';
>> $link->managerCustomerId = F711_MCC_MAIN; // constant defining the 
>> main MCC
>> 
>> $operation = new ManagedCustomerOperation();
>> $operation->operand = $link;
>> $operation->operator = 'ADD';
>> $operations = array(  $operation );
>>
>> try {
>> $result = $managedCustomerService->mutate( $operations );
>> } catch (Exception $e) {
>> $message = $e->getMessage();
>> $errors[] = $message;
>> }
>> if ( is_array( $errors ) ) {
>> print_r( $errors );
>> }
>>
>> It is all pretty straight forward, but I do get an Error:
>> [RequiredError.REQUIRED @ operations[0].operand.dateTimeZone, 
>> RequiredError.REQUIRED @ operations[0].operand.clientName, 
>> RequiredError.REQUIRED @ operations[0].operand.customerCurrencyCode]
>>
>> This is odd to me, as the ManagedCustomerLink 
>> 
>>  does 
>> not list these operands. Am I missing something here? I also tried adding 
>> $link->currencyCode = 'EUR'; - this results in the same Error, eventhough 
>> currencyCode is defined.
>>
>> The AdWords user making the call is the user with access to the account 
>> mentioned in clientCustomerId.
>>
>> The Object I am sending to the API is the following:
>> [0] => ManagedCustomerServiceMutate Object
>> (
>> [operations] => Array
>> (
>> [0] => ManagedCustomerOperation Object
>> (
>> [operand] => ManagedCustomerLink Object
>> (
>> [managerCustomerId] => 1155227075
>> [clientCustomerId] => 1155227075
>> [linkStatus] => PENDING
>> [pendingDescriptiveName] => OMPTools 
>> #538d5c46a44c8
>> )
>>
>> [operator] => ADD
>> [OperationType] => 
>> [_parameterMap:Operation:private] => Array
>> (
>> [Operation.Type] => OperationType
>> )
>>
>> )
>>
>> )
>>
>> )
>>
>> )
>>
>> Any help is greatly appreciated, I am lost in the woods :)
>>
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 becau

Re: Exception: Missing SoapHeader

2014-06-03 Thread Gopi
Josh, 

   We are using client libraries -  googleads-java-lib-v1.26.0 


Thanks
Gopi

On Tuesday, June 3, 2014 7:59:41 AM UTC-7, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi Gopi,
>
> Are you using one of the client libraries 
> ? If the 
> request below is your complete request, it is indeed missing the SOAP 
> header, as the error indicates.
>
> If you are using of the client libraries then I'd be interesting in 
> knowing which one you are using (including the version) and whether you 
> recently downloaded a newer version of the library.
>
> Cheers,
> Josh, AdWords API Team
>
> On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>>
>> I am getting the below soap response and it doesn't happen all the time. 
>> If i retry it will proceed as normal, there is no change in the code. Is 
>> there anything i am missing?
>>
>> Soap Response: 
>> 
>> http://schemas.xmlsoap.org/soap/envelope/";>
>> 
>> 
>> soap:Server
>> Missing SoapHeader while invoking public 
>> abstract 
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>>  
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>>  
>> throws 
>> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>>  
>> with params 
>> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
>> 
>> 
>> 
>>
>>
>> Soap Request:
>>
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
>> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance";>
>>  
>>   https://adwords.google.com/api/adwords/cm/v201309";>
>>
>> AgeRangeType
>> CampaignId
>> CarrierCountryCode
>> CarrierName
>> ContentLabelType
>> CriteriaType
>> DisplayType
>> GenderType
>> GeoPoint
>> Id
>> KeywordMatchType
>> KeywordText
>> LanguageCode
>> LanguageName
>> LocationName
>> Operand
>> ParentLocations
>> Path
>> PlacementUrl
>> PlatformName
>> 
>>  CampaignId
>>  EQUALS
>>  142981910
>> 
>> 
>>  0
>>  1000
>> 
>>
>>   
>>  
>> 
>>
>>
>> Thanks
>> Gopi
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: INVALID_CONVERSION_TYPE when conversion name exists

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

I'm not seeing a significant change in the frequency of these errors, but 
if you have an example that's failing that you expect to succeed, please 
send the request/response logs and customer ID *only to me* by clicking *Reply 
to Author* and I'll investigate.

Thanks,
Josh, AdWords API Team

On Monday, June 2, 2014 10:05:47 PM UTC-4, 2546...@qq.com wrote:
>
> Hi Ray
> I want to know whether the problem appeared again
>
> On Monday, May 12, 2014 10:07:12 PM UTC+8, Ray Tsang wrote:
>>
>> Simone,
>>
>> The rate limit may be a separate issue.  Please send me a full 
>> request/response log in private (using the reply to author feature).
>>
>> Thanks!
>>
>> Ray,
>>
>> On Saturday, May 10, 2014 1:19:23 PM UTC-4, Simone Frattegiani wrote:
>>>
>>> They seem to be working, although i couldn't upload yesterday and 
>>> today's conversions because of a [RateExceededError 
>>> >> retryAfterSeconds=86400>]
>>>
>>>
>>> Il giorno sabato 10 maggio 2014 18:27:18 UTC+2, Meelap Shah ha scritto:

 Things are working again now - thanks!

 On Saturday, May 10, 2014 7:58:58 AM UTC-7, Ray Tsang (AdWords API 
 Team) wrote:
>
> Hi all,
>
> Please retry the failed uploads.
>
> Cheers!
>
> Ray
>
> On Saturday, May 10, 2014 5:01:37 AM UTC-4, Simone Frattegiani wrote:
>>
>> BTW, tonight's cronjob was pretty succesful.
>>
>> Il giorno venerdì 9 maggio 2014 23:03:03 UTC+2, Simone Frattegiani ha 
>> scritto:
>>>
>>> it started with just some errors, then it got worse. 
>>> On my last upload (7th May), 100% of the conversions were rejected.
>>>
>>> Il giorno venerdì 9 maggio 2014 21:26:00 UTC+2, Meelap Shah ha 
>>> scritto:

 I'm seeing the same behavior as Sung.

 On Friday, May 9, 2014 12:22:34 PM UTC-7, su...@fb.com wrote:
>
> Hello Ray,
>
> I seen this issue being transient issue which started around May 
> 1, and retries would fix this issue.
> However starting from May 5, retries would not fix the issue 
> anymore.
>
> Thanks,
>
> On Friday, May 9, 2014 12:08:48 PM UTC-7, Ray Tsang (AdWords API 
> Team) wrote:
>>
>> Hi guys - I'm looking into the issues.
>>
>> Question for all - are you all getting 100% failures, or with 
>> percentage of failures like Sung?
>>
>> Thanks,
>>
>> On Friday, May 9, 2014 3:55:13 AM UTC-4, Simone Frattegiani wrote:
>>>
>>> I'm having the same problem too!
>>> My code has been working for months, and a few days ago i 
>>> started getting "Invalid conversion type" errors on all my offline 
>>> conversions.
>>> Uploading through CSV gives the very same error.
>>>
>>> I have defined my conversion type at the MCC level.
>>>
>>> Il giorno martedì 6 maggio 2014 03:49:11 UTC+2, Meelap Shah ha 
>>> scritto:

 I have been uploading offline conversions successfully for a 
 few months, but it
 has stopped working within the past week (I am using the same 
 code). I now see
 INVALID_CONVERSION_TYPE errors which means that there is no 
 conversion with the
 specified name (according to the docs 
 https://developers.google.com/adwords/api/docs/reference/v201402/OfflineConversionFeedService#OfflineConversionError
 ).
 However, I can see that the conversion type that I named does 
 exist. Am I
 mis-interpreting the error message, or is there another reason 
 why I would be
 seeing this?

 Here is some sample code illustrated what I am seeing:

 python> ac = googleads.AdwordsClient(...)
 python> ac.GetService('OfflineConversionFeedService', 
 version='v201402').mutate([
   {'operator': 'ADD',
 'operand': {'googleClickId': u'abc...',
 'conversionValue': 1.0,
 'conversionTime': '20140503 190731 Etc/GMT',
 'conversionName': u'My Conversion Type'
 }}]).partialFailureErrors

 (OfflineConversionError){
   fieldPath = "operations[0].operand"
   trigger = None
   errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
   ApiError.Type = "OfflineConversionError"
   reason = "INVALID_CONVERSION_TYPE"
 }

 python> ac.GetService('ConversionTrackerService', 
 version='v201402').get(
   {'fields': ['Id'
   'Name'
   'Status'
   'Category'
   

Re: Integer Id fields in GEO_PERFORMANCE_REPORT

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

Good point -- I have updated the request to include 
CLICK_PERFORMANCE_REPORT.

Cheers,
Josh, AdWords API Team

On Monday, June 2, 2014 9:13:22 PM UTC-4, Devesh Parekh wrote:
>
> Thanks, Josh. Can you add the CLICK_PERFORMANCE_REPORT to the enhancement 
> request as well?
>
> -- 
> Devesh
>
> On Tuesday, May 20, 2014 2:11:44 PM UTC-7, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi Devesh,
>>
>> I've submitted a separate enhancement request to add fields for the Long 
>> IDs to the report. We may not switch the meaning of the existing fields 
>> since that could cause problems for developers who are expecting a 
>> combination of Long and String values in those fields. I'll post here when 
>> I have updates on either issue.
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Monday, May 19, 2014 8:25:37 PM UTC-4, Devesh Parekh wrote:
>>>
>>> Hi Takeshi,
>>>
>>> This bug is causing the reporting endpoint to return data that I cannot 
>>> automatically map to an ID. For example, when I run "SELECT CityCriteriaId, 
>>> MetroCriteriaId, RegionCriteriaId, CountryCriteriaId, 
>>> MostSpecificCriteriaId, Impressions,Clicks FROM GEO_PERFORMANCE_REPORT 
>>> WHERE AdGroupId=8385025797 DURING 20140501,20140515", I get the following 
>>> two rows, which are referring to two different Zacatecas, but I can't tell 
>>> which Zacatecas by reading the report:
>>>
>>> Unspecified,,Zacatecas,Mexico,Zacatecas,---,---
>>> Unspecified,,Zacatecas,Mexico,Zacatecas,---,---
>>>
>>> If the report returned integer IDs like the documentation says (
>>> https://developers.google.com/adwords/api/docs/appendix/reports#geo), I 
>>> would know which Zacatecas each line is referring to.
>>>
>>> -- 
>>> Devesh
>>>
>>> On Monday, July 29, 2013 11:18:03 AM UTC-7, Devesh Parekh wrote:

 Thanks, Takeshi. Can you also request that they add integer id fields 
 to the report?

 -- 
 Devesh

 On Sunday, July 28, 2013 11:45:08 PM UTC-7, Takeshi Hagikura (AdWords 
 API Team) wrote:
>
> Hi Devesh,
>
> Thanks. Confirmed the situation. 
> Escalated a request to fix the fieldType to String. 
>
> Best,
> - Takeshi, AdWords API Team
>
> On Saturday, July 27, 2013 3:10:21 AM UTC+9, Devesh Parekh wrote:
>>
>> Hi Takeshi,
>>
>> Yes, all the values for these ID fields are non-numerical (like 
>> "Ireland" and "Cork"), and you can verify it by running the example 
>> query I 
>> provided. According to the documentation, these should be Integers, and 
>> I 
>> would much prefer to have the report behave as documented instead of as 
>> the 
>> way it currently behaves.
>>
>> -- 
>> Devesh
>>
>>
>> On Thu, Jul 25, 2013 at 10:49 PM, Takeshi Hagikura (AdWords API Team) 
>>  wrote:
>>
>>> Hi, 
>>>
>>> Was there a non numerical value for Id field?
>>> If not, you can map it to Integers in a programing language. 
>>> Basically the result is returned as CSV or XML as you specified when 
>>> you download a report.
>>>
>>> Best,
>>> - Takeshi, 
>>>
>>> On Wednesday, July 24, 2013 9:19:34 AM UTC+9, Devesh Parekh wrote:

 According to https://developers.google.
 com/adwords/api/docs/appendix/reports#geo, CountryCriteriaId and 
 RegionCriteriaId should be Integers, but the when I send an AWQL query 
 to 
 the reportdownload endpoint (https://adwords.google.com/
 api/adwords/reportdownload/v201306) to return those fields, I get 
 Strings. Example query: SELECT CountryCriteriaId, RegionCriteriaId, 
 Impressions FROM GEO_PERFORMANCE_REPORT DURING 20130101,20130723

 Can you make them Integers?

 -- 
 Devesh

>>>  -- 
>>> -- 
>>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>> 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 adwor...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> adwords-api...@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 a topic in 
>>> the Google Groups "AdWords API Forum" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/adwords-api/EiGdtzXY30s/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> adwords-api...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>

Re: Auction Insights Report

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

I confirmed that the request has been filed but I don't have a date yet for 
when or if this will be available.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 1:01:32 AM UTC-4, Allen wrote:
>
> I mentioned this one at the API Workshop in Sydney last week. 
> (I think Julian volunteered to follow it up?)
>
> Just pinging this thread to keep it on the radar.
>  
>
> Cheers,
>
> Allen
>
> On Monday, May 28, 2012 7:46:55 AM UTC+10, Allen wrote:
>>
>> Can we reproduce the Auction Insights report via the API? 
>>
>> If not is there any timeline as to when it might be available?
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: INVALID_CONVERSION_TYPE when using OfflineConversions

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

It looks like you do not have the conversion account set to the MCC for the 
AdWords accounts under the MCC. See the following Help Center article for 
details:

https://support.google.com/adwords/answer/3061730

Cheers,
Josh, AdWords API Team

On Monday, June 2, 2014 10:40:32 AM UTC-4, mob...@glomedia.eu wrote:
>
> Hi there,
>
> We are trying to upload our conversion via the api.
>
> We can create new conversion via the api without a problem but when we 
> want to populate it we get an 
> error OfflineConversionError.INVALID_CONVERSION_TYPE
>
> If we query for the available channels we get this response : 
>
> {:total_num_entries=>1,
>  :page_type=>"ConversionTrackerPage",
>  :entries=>
>   [
>{:id=>20673018,
> :name=>"OrseddContracts",
> :status=>"ENABLED",
> :category=>"SIGNUP",
> :viewthrough_lookback_window=>30,
> :is_product_ads_chargeable=>false,
> :product_ads_chargeable_conversion_window=>30,
> :ctc_lookback_window=>90,
> :counting_type=>"MANY_PER_CLICK",
> :default_revenue_value=>0.0,
> :always_use_default_revenue_value=>true,
> :conversion_tracker_type=>"UploadConversion",
> :xsi_type=>"UploadConversion"}
>   ]
> }
>
> This is the request (removed api token) :
>
> 
>   http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xmlns:wsdl="
> https://adwords.google.com/api/adwords/cm/v201402"; xmlns:env="
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   demo-rails (AwApi-Ruby/0.12.0, Common-Ruby/0.9.3, 
> Savon/1.2.0, ruby/2.1.1, HTTPI/1.1.1, net_http)
>   OURAPITOKEN
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   
> ADD
> 
>   CJ3y_v76sr4CFbTm7Aod7SMAqA
>   OrseddContracts
>   20140601 003706 Etc/GMT
>   1
> 
>   
> 
>   
> 
>
> Response : 
>
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   0004fadb465ecf380ae56e0411005c7a
>   OfflineConversionFeedService
>   mutate
>   1
>   278
> 
>   
>   
> 
>   soap:Server
>   [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
> operations[0].operand]
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
> operations[0].operand]
>   
> ApiException
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="OfflineConversionError">
> operations[0].operand
> 
> 
> OfflineConversionError.INVALID_CONVERSION_TYPE
> OfflineConversionError
> INVALID_CONVERSION_TYPE
>   
> 
>   
> 
>   
> 
>
> Could you please tell me what i'm doing wrong ?
>
> Thanks in advance, 
>
> Gerard.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Linking MCC to another MCC - ManagedCustomerLink Error

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

The method you're invoking below is actually ManagedCustomerService.mutate 

 (not ManagedCustomerService.mutateLink 
),
 
so it takes a collection of ManagedCustomerOperation 
s
 
where the operand is a ManagedCustomer 

 (not 
a ManagedCustomerLink 
).
 
*ManagedCustomer* does require the fields mentioned in the error.

I'm not a PHP expert, but I'm guessing that it's not type-aware enough to 
know that the operands you are passing are the wrong type for the method, 
hence the slightly confusing error.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 1:52:48 AM UTC-4, fischi wrote:
>
> Hi all!
>
> I am trying to link a MCC to another MCC, using API v. 201402.
> My script is this:
>
> $managedCustomerService = $user->GetService('ManagedCustomerService', 
> ADWORDS_VERSION);
>
> $link = new ManagedCustomerLink();
> $link->clientCustomerId = get_user_account( $thisuserdata->ID ); // 
> getting the MCC of the logged in user
> $link->pendingDescriptiveName = "OMPTools #" . uniqid();
> $link->linkStatus = 'PENDING';
> $link->managerCustomerId = F711_MCC_MAIN; // constant defining the 
> main MCC
> 
> $operation = new ManagedCustomerOperation();
> $operation->operand = $link;
> $operation->operator = 'ADD';
> $operations = array(  $operation );
>
> try {
> $result = $managedCustomerService->mutate( $operations );
> } catch (Exception $e) {
> $message = $e->getMessage();
> $errors[] = $message;
> }
> if ( is_array( $errors ) ) {
> print_r( $errors );
> }
>
> It is all pretty straight forward, but I do get an Error:
> [RequiredError.REQUIRED @ operations[0].operand.dateTimeZone, 
> RequiredError.REQUIRED @ operations[0].operand.clientName, 
> RequiredError.REQUIRED @ operations[0].operand.customerCurrencyCode]
>
> This is odd to me, as the ManagedCustomerLink 
> 
>  does 
> not list these operands. Am I missing something here? I also tried adding 
> $link->currencyCode = 'EUR'; - this results in the same Error, eventhough 
> currencyCode is defined.
>
> The AdWords user making the call is the user with access to the account 
> mentioned in clientCustomerId.
>
> The Object I am sending to the API is the following:
> [0] => ManagedCustomerServiceMutate Object
> (
> [operations] => Array
> (
> [0] => ManagedCustomerOperation Object
> (
> [operand] => ManagedCustomerLink Object
> (
> [managerCustomerId] => 1155227075
> [clientCustomerId] => 1155227075
> [linkStatus] => PENDING
> [pendingDescriptiveName] => OMPTools 
> #538d5c46a44c8
> )
>
> [operator] => ADD
> [OperationType] => 
> [_parameterMap:Operation:private] => Array
> (
> [Operation.Type] => OperationType
> )
>
> )
>
> )
>
> )
>
> )
>
> Any help is greatly appreciated, I am lost in the woods :)
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Exception: Missing SoapHeader

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

Are you using one of the client libraries 
? If the 
request below is your complete request, it is indeed missing the SOAP 
header, as the error indicates.

If you are using of the client libraries then I'd be interesting in knowing 
which one you are using (including the version) and whether you recently 
downloaded a newer version of the library.

Cheers,
Josh, AdWords API Team

On Monday, June 2, 2014 2:47:32 PM UTC-4, Gopi wrote:
>
> I am getting the below soap response and it doesn't happen all the time. 
> If i retry it will proceed as normal, there is no change in the code. Is 
> there anything i am missing?
>
> Soap Response: 
> 
> http://schemas.xmlsoap.org/soap/envelope/";>
> 
> 
> soap:Server
> Missing SoapHeader while invoking public abstract 
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionPage
>  
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.CampaignCriterionServiceInterface.get(com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector)
>  
> throws 
> com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.ApiException_Exception
>  
> with params 
> [com.google.ads.api.services.campaignmgmt.criterion.campaigncriterion.v201309.jaxbgen.Selector@7ee222e4].
> 
> 
> 
>
>
> Soap Request:
>
> 
> http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>  
>   https://adwords.google.com/api/adwords/cm/v201309";>
>
> AgeRangeType
> CampaignId
> CarrierCountryCode
> CarrierName
> ContentLabelType
> CriteriaType
> DisplayType
> GenderType
> GeoPoint
> Id
> KeywordMatchType
> KeywordText
> LanguageCode
> LanguageName
> LocationName
> Operand
> ParentLocations
> Path
> PlacementUrl
> PlatformName
> 
>  CampaignId
>  EQUALS
>  142981910
> 
> 
>  0
>  1000
> 
>
>   
>  
> 
>
>
> Thanks
> Gopi
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Using customer sync selector to find changes made by user

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

The API does not provide user information related to changes. We're aware 
that there's interest in this functionality but this is not available at 
the moment.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 8:48:47 AM UTC-4, Dan wrote:
>
> Hi guys,
>
> I am using the customer sync selector service to retrieve the list of 
> changed campaigns through the AdWords API.
> This gives me a complete list of ALL the changed campaigns between two 
> datetimes.
>
> Through the AdWords interface, it is possible to filter this list by user, 
> e.g. only show the changes made by a specific user.
>
> It it possible to do the same thing through the API?
> I want to either specify the user as part of the query, or perform 
> filtering after the API has returned a response. Are either of these 
> possible?
>
> 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: Exporting AdWords Information

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

There isn't a single service or report that will give you the entire 
contents of your accounts, so you will need to use structure reports or 
individual services to get this information.

You may also want to take a look at our AwReporting 
 project on github, which runs 
AdWords reports and inserts the results into a database.

Cheers,
Josh, AdWords API Team

On Tuesday, June 3, 2014 6:23:09 AM UTC-4, Visar wrote:
>
> Hi,
>
> I'm trying to compile a database of the entire contents of my AdWords 
> Accounts. Is there a way to get this information in one go (like what you 
> get when you export a file from AdWords editor)? Or do I just need to get 
> things in chunks using the API reports service, e.g. campaign report, 
> keyword report etc etc.
>
> 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.


INVALID_CONVERSION_TYPE when using OfflineConversions

2014-06-03 Thread mobster
Hi there,

We are trying to upload our conversion via the api.

We can create new conversion via the api without a problem but when we want 
to populate it we get an 
error OfflineConversionError.INVALID_CONVERSION_TYPE

If we query for the available channels we get this response : 

{:total_num_entries=>1,
 :page_type=>"ConversionTrackerPage",
 :entries=>
  [
   {:id=>20673018,
:name=>"OrseddContracts",
:status=>"ENABLED",
:category=>"SIGNUP",
:viewthrough_lookback_window=>30,
:is_product_ads_chargeable=>false,
:product_ads_chargeable_conversion_window=>30,
:ctc_lookback_window=>90,
:counting_type=>"MANY_PER_CLICK",
:default_revenue_value=>0.0,
:always_use_default_revenue_value=>true,
:conversion_tracker_type=>"UploadConversion",
:xsi_type=>"UploadConversion"}
  ]
}

This is the request (removed api token) :


  http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201402"; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201402";>
  demo-rails (AwApi-Ruby/0.12.0, Common-Ruby/0.9.3, 
Savon/1.2.0, ruby/2.1.1, HTTPI/1.1.1, net_http)
  OURAPITOKEN

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

  CJ3y_v76sr4CFbTm7Aod7SMAqA
  OrseddContracts
  20140601 003706 Etc/GMT
  1

  

  


Response : 

http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201402";>
  0004fadb465ecf380ae56e0411005c7a
  OfflineConversionFeedService
  mutate
  1
  278

  
  

  soap:Server
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  
https://adwords.google.com/api/adwords/cm/v201402";>
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  
ApiException
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OfflineConversionError">
operations[0].operand


OfflineConversionError.INVALID_CONVERSION_TYPE
OfflineConversionError
INVALID_CONVERSION_TYPE
  

  

  


Could you please tell me what i'm doing wrong ?

Thanks in advance, 

Gerard.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-03 Thread mobster
I'm running in the exact same problems :/
I can make the conversion labels from the api and see them show up in the 
interface as well.
Also i can list the labels from the api, they show up.
But as soon as i want to upload data  to it , it returns 
the OfflineConversionError.INVALID_CONVERSION_TYPE.

I read somewhere that it might take up to 6 hours before the new labels 
have been synced.
I've waited for over 24 hours but still get the same result.

Gerard.

On Friday, May 30, 2014 12:19:52 PM UTC+2, Luca Fiaschi wrote:
>
> Hi All I am getting a very similar error to this post:
> https://groups.google.com/forum/#!topic/adwords-api/xb8X9Ucsv80
>
> reading that forum seems that the error was internally fixed by Google at 
> the beginning of the month however I still get the following problem:
>
> I am uploading the conversion using a client created using the top level 
> country MCC of my company:
> The conversion labels are were correctly uploaded
>
> (UploadConversion){
> id = 18258763
> name = "attributed conversion"
> status = "ENABLED"
> category = "PURCHASE"
> stats = 
>(ConversionTrackerStats){
>   numConversionEvents = 0
>   conversionValue = 
>  (Money){
> ComparableValue.Type = "Money"
> microAmount = 0
>  }
>   numConvertedClicks = 0
>}
> viewthroughLookbackWindow = 30
> isProductAdsChargeable = False
> productAdsChargeableConversionWindow = 30
> ctcLookbackWindow = 30
> countingType = "MANY_PER_CLICK"
> defaultRevenueValue = 1.0
> alwaysUseDefaultRevenueValue = False
> ConversionTracker.Type = "UploadConversion"
>   }, (UploadConversion){
> id = 18258883
> name = "attributed revenue"
> status = "ENABLED"
> category = "PURCHASE"
> stats = 
>(ConversionTrackerStats){
>   numConversionEvents = 0
>   conversionValue = 
>  (Money){
> ComparableValue.Type = "Money"
> microAmount = 0
>  }
>   numConvertedClicks = 0
>}
> viewthroughLookbackWindow = 30
> isProductAdsChargeable = False
> productAdsChargeableConversionWindow = 30
> ctcLookbackWindow = 30
> countingType = "MANY_PER_CLICK"
> defaultRevenueValue = 1.0
> alwaysUseDefaultRevenueValue = False
> ConversionTracker.Type = "UploadConversion"
>   }]
>
>
>
>
> However I still get the following errors:
>
>
>  {'googleClickId': u'CLbJ6ueQir0CFe9U4godVVgAGA', 'conversionValue': 
> 0.0037593984962406, 'conversionTime': '20140526 163528 +0800', 
> 'conversionName': u'attributed conversion'} 
>
> has failed with error (OfflineConversionError){
>fieldPath = "operations[984].operand"
>trigger = None
>errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
>ApiError.Type = "OfflineConversionError"
>reason = "INVALID_CONVERSION_TYPE"
>  }
>
>
>
> How is this possible?
>
>
> 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: INVALID_CONVERSION_TYPE when conversion name exists

2014-06-03 Thread 254609078
Hi Ray
I want to know whether the problem appeared again

On Monday, May 12, 2014 10:07:12 PM UTC+8, Ray Tsang wrote:
>
> Simone,
>
> The rate limit may be a separate issue.  Please send me a full 
> request/response log in private (using the reply to author feature).
>
> Thanks!
>
> Ray,
>
> On Saturday, May 10, 2014 1:19:23 PM UTC-4, Simone Frattegiani wrote:
>>
>> They seem to be working, although i couldn't upload yesterday and today's 
>> conversions because of a [RateExceededError > rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400>]
>>
>>
>> Il giorno sabato 10 maggio 2014 18:27:18 UTC+2, Meelap Shah ha scritto:
>>>
>>> Things are working again now - thanks!
>>>
>>> On Saturday, May 10, 2014 7:58:58 AM UTC-7, Ray Tsang (AdWords API Team) 
>>> wrote:

 Hi all,

 Please retry the failed uploads.

 Cheers!

 Ray

 On Saturday, May 10, 2014 5:01:37 AM UTC-4, Simone Frattegiani wrote:
>
> BTW, tonight's cronjob was pretty succesful.
>
> Il giorno venerdì 9 maggio 2014 23:03:03 UTC+2, Simone Frattegiani ha 
> scritto:
>>
>> it started with just some errors, then it got worse. 
>> On my last upload (7th May), 100% of the conversions were rejected.
>>
>> Il giorno venerdì 9 maggio 2014 21:26:00 UTC+2, Meelap Shah ha 
>> scritto:
>>>
>>> I'm seeing the same behavior as Sung.
>>>
>>> On Friday, May 9, 2014 12:22:34 PM UTC-7, su...@fb.com wrote:

 Hello Ray,

 I seen this issue being transient issue which started around May 1, 
 and retries would fix this issue.
 However starting from May 5, retries would not fix the issue 
 anymore.

 Thanks,

 On Friday, May 9, 2014 12:08:48 PM UTC-7, Ray Tsang (AdWords API 
 Team) wrote:
>
> Hi guys - I'm looking into the issues.
>
> Question for all - are you all getting 100% failures, or with 
> percentage of failures like Sung?
>
> Thanks,
>
> On Friday, May 9, 2014 3:55:13 AM UTC-4, Simone Frattegiani wrote:
>>
>> I'm having the same problem too!
>> My code has been working for months, and a few days ago i started 
>> getting "Invalid conversion type" errors on all my offline 
>> conversions.
>> Uploading through CSV gives the very same error.
>>
>> I have defined my conversion type at the MCC level.
>>
>> Il giorno martedì 6 maggio 2014 03:49:11 UTC+2, Meelap Shah ha 
>> scritto:
>>>
>>> I have been uploading offline conversions successfully for a few 
>>> months, but it
>>> has stopped working within the past week (I am using the same 
>>> code). I now see
>>> INVALID_CONVERSION_TYPE errors which means that there is no 
>>> conversion with the
>>> specified name (according to the docs 
>>> https://developers.google.com/adwords/api/docs/reference/v201402/OfflineConversionFeedService#OfflineConversionError
>>> ).
>>> However, I can see that the conversion type that I named does 
>>> exist. Am I
>>> mis-interpreting the error message, or is there another reason 
>>> why I would be
>>> seeing this?
>>>
>>> Here is some sample code illustrated what I am seeing:
>>>
>>> python> ac = googleads.AdwordsClient(...)
>>> python> ac.GetService('OfflineConversionFeedService', 
>>> version='v201402').mutate([
>>>   {'operator': 'ADD',
>>> 'operand': {'googleClickId': u'abc...',
>>> 'conversionValue': 1.0,
>>> 'conversionTime': '20140503 190731 Etc/GMT',
>>> 'conversionName': u'My Conversion Type'
>>> }}]).partialFailureErrors
>>>
>>> (OfflineConversionError){
>>>   fieldPath = "operations[0].operand"
>>>   trigger = None
>>>   errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
>>>   ApiError.Type = "OfflineConversionError"
>>>   reason = "INVALID_CONVERSION_TYPE"
>>> }
>>>
>>> python> ac.GetService('ConversionTrackerService', 
>>> version='v201402').get(
>>>   {'fields': ['Id'
>>>   'Name'
>>>   'Status'
>>>   'Category'
>>>   'NumConversionEvents'
>>>   'NumConvertedClicks'
>>>   'MostRecentConversionDate'
>>>   'CountingType']}).entities
>>>
>>> ...
>>> (UploadConversion){
>>>id = NNN
>>>name = "My Conversion Type"
>>>status = "ENABLED"
>>>category = "LEAD"
>>>stats = 
>>>   (ConversionTrackerStats){
>>>

Linking MCC to another MCC - ManagedCustomerLink Error

2014-06-03 Thread fischi
Hi all!

I am trying to link a MCC to another MCC, using API v. 201402.
My script is this:

$managedCustomerService = $user->GetService('ManagedCustomerService', 
ADWORDS_VERSION);

$link = new ManagedCustomerLink();
$link->clientCustomerId = get_user_account( $thisuserdata->ID ); // 
getting the MCC of the logged in user
$link->pendingDescriptiveName = "OMPTools #" . uniqid();
$link->linkStatus = 'PENDING';
$link->managerCustomerId = F711_MCC_MAIN; // constant defining the main 
MCC

$operation = new ManagedCustomerOperation();
$operation->operand = $link;
$operation->operator = 'ADD';
$operations = array(  $operation );

try {
$result = $managedCustomerService->mutate( $operations );
} catch (Exception $e) {
$message = $e->getMessage();
$errors[] = $message;
}
if ( is_array( $errors ) ) {
print_r( $errors );
}

It is all pretty straight forward, but I do get an Error:
[RequiredError.REQUIRED @ operations[0].operand.dateTimeZone, 
RequiredError.REQUIRED @ operations[0].operand.clientName, 
RequiredError.REQUIRED @ operations[0].operand.customerCurrencyCode]

This is odd to me, as the ManagedCustomerLink 

 does 
not list these operands. Am I missing something here? I also tried adding 
$link->currencyCode = 'EUR'; - this results in the same Error, eventhough 
currencyCode is defined.

The AdWords user making the call is the user with access to the account 
mentioned in clientCustomerId.

The Object I am sending to the API is the following:
[0] => ManagedCustomerServiceMutate Object
(
[operations] => Array
(
[0] => ManagedCustomerOperation Object
(
[operand] => ManagedCustomerLink Object
(
[managerCustomerId] => 1155227075
[clientCustomerId] => 1155227075
[linkStatus] => PENDING
[pendingDescriptiveName] => OMPTools 
#538d5c46a44c8
)

[operator] => ADD
[OperationType] => 
[_parameterMap:Operation:private] => Array
(
[Operation.Type] => OperationType
)

)

)

)

)

Any help is greatly appreciated, I am lost in the woods :)


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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-03 Thread 254609078
Hi Anash

I am getting a similar error with him.Looking forward to your reply.Thank 
you!

On Tuesday, June 3, 2014 1:38:52 AM UTC+8, Anash P. Oommen (AdWords API 
Team) wrote:
>
> Hi Luca,
>
> Thanks for providing the debug details. I've asked the API team to 
> investigate this further. I'll update this thread once I hear from them.
>
> Cheers,
> Anash
>
> On Monday, June 2, 2014 3:35:55 AM UTC-4, Luca Fiaschi wrote:
>>
>> Hi Anash,
>> this should be the information you requested:
>>
>> DEBUG:suds.client:sending to (
>> https://adwords.google.com/api/adwords/cm/v201402/OfflineConversionFeedService
>> )
>> message:
>> 
>> http://schemas.xmlsoap.org/soap/envelope/"; 
>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402"; xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xmlns:tns="
>> https://adwords.google.com/api/adwords/cm/v201402"; xmlns:SOAP-ENV="
>> http://schemas.xmlsoap.org/soap/envelope/";>
>>
>>   
>>  4977970950
>>  ***
>>  * (AwApi-Python, googleads/1.0.5, 
>> Python/2.7)
>>  true
>>  true
>>   
>>
>>
>>   
>>  
>> ADD
>> 
>>   
>>  CPS-hOmskr0CFSVU4godhA0AIw
>>new customer
>>20140525 174340 
>> +0800
>>0.0642035130224
>> 
>>  
>>   
>>
>> 
>>
>> DEBUG:suds.client:headers = {'SOAPAction': '""', 'Content-Type': 
>> 'text/xml; charset=utf-8', 'Authorization': '*'}
>>
>>
>> DEBUG:suds.client:HTTP failed - 500 - Internal Server Error:
>> > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>>  
>> xmlns="https://adwords.google.com/api/adwords/cm/v201402";>0004fad54559d9a80ae5cac828006027OfflineConversionFeedServicemutate0337soap:Server[OfflineConversionError.INVALID_CONVERSION_TYPE
>>  
>> @ operations[0].operand]https://adwords.google.com/api/adwords/cm/v201402";>[OfflineConversionError.INVALID_CONVERSION_TYPE
>>  
>> @ 
>> operations[0].operand]ApiException>  
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="OfflineConversionError">operations[0].operandOfflineConversionError.INVALID_CONVERSION_TYPEOfflineConversionErrorINVALID_CONVERSION_TYPE
>> ERROR:suds.client:
>>
>> On Friday, May 30, 2014 7:11:51 PM UTC+2, Anash P. Oommen (AdWords API 
>> Team) wrote:
>>>
>>> Hi Luca,
>>>
>>> There are way too many failed requests with that click id in the logs, 
>>> could you give me a specific request id that fails? The requestId is a 
>>> unique number that is returned as part of the SOAP response headers.
>>>
>>> Cheers,
>>> Anash P. Oommen,
>>> AdWords API Advisor.
>>>
>>> On Friday, May 30, 2014 6:19:52 AM UTC-4, Luca Fiaschi wrote:

 Hi All I am getting a very similar error to this post:
 https://groups.google.com/forum/#!topic/adwords-api/xb8X9Ucsv80

 reading that forum seems that the error was internally fixed by Google 
 at the beginning of the month however I still get the following problem:

 I am uploading the conversion using a client created using the top 
 level country MCC of my company:
 The conversion labels are were correctly uploaded

 (UploadConversion){
 id = 18258763
 name = "attributed conversion"
 status = "ENABLED"
 category = "PURCHASE"
 stats = 
(ConversionTrackerStats){
   numConversionEvents = 0
   conversionValue = 
  (Money){
 ComparableValue.Type = "Money"
 microAmount = 0
  }
   numConvertedClicks = 0
}
 viewthroughLookbackWindow = 30
 isProductAdsChargeable = False
 productAdsChargeableConversionWindow = 30
 ctcLookbackWindow = 30
 countingType = "MANY_PER_CLICK"
 defaultRevenueValue = 1.0
 alwaysUseDefaultRevenueValue = False
 ConversionTracker.Type = "UploadConversion"
   }, (UploadConversion){
 id = 18258883
 name = "attributed revenue"
 status = "ENABLED"
 category = "PURCHASE"
 stats = 
(ConversionTrackerStats){
   numConversionEvents = 0
   conversionValue = 
  (Money){
 ComparableValue.Type = "Money"
 microAmount = 0
  }
   numConvertedClicks = 0
}
 viewthroughLookbackWindow = 30
 isProductAdsChargeable = False
 productAdsChargeableConversionWindow = 30
 ctcLookbackWindow = 30
 countingType = "MANY_PER_CLICK"
 defaultRevenueValue = 1.0
 alwaysUseDefaultRevenueValue = False
 ConversionTracker.Type = "UploadConversion"
   }]




 However I still get the following errors:


  {'googleClickId': u'CLbJ6ueQir0CFe9U4godVVgAGA', 'conversionValue': 
 0.0037593984

Re: Linking account by PHP api

2014-06-03 Thread Michael Cloonan (AdWords API Team)
Hello,

Can you please provide the full SOAP request/response you're getting when 
executing this by replying to me *privately* using the drop down arrow and 
"reply to author"? This will help me determine what the probable cause of 
this error is.

Regards,
Mike, AdWords API Team

On Monday, June 2, 2014 9:33:12 AM UTC-4, sup...@grafxsoftware.com wrote:
>
> Hi
>
> I'm trying to link an user with this code:
>
> /**
>  * 
>  * @param type $data
>  */
> private function linkingUser( & $data )
> {
> // Get the service, which loads the required classes.
> $managedCustomerService =
> $this->user->GetService('ManagedCustomerService', 
> ADWORDS_VERSION);
>   
> $link = new ManagedCustomerLink();
> $link->clientCustomerId = $data["googleClientId"]; //CLIENT_CID;
> $link->pendingDescriptiveName = "PENDING " . 
> $data["googleClientId"];
> $link->linkStatus = 'PENDING';
> $link->managerCustomerId = $this->user->GetClientCustomerId(); 
> //MANAGER_CID;
> 
> // Create operation.
> $operation2 = new LinkOperation();
> 
> $operation2->operand = $link;
> $operation2->operator = 'ADD';
>
> $operations = array( $operation2);
>
> try
> {
> // Make the mutate request.
> $result = $managedCustomerService->mutate( $operations );
> }
> catch (Exception $e) {
> $message = $e->getMessage();
> $this->errors[] = $message;
> return FALSE;
> }
> 
> if( empty( $result->value[0] ) )
> {
> $error = "AdWordsUser not created (garfx)." ;
> $this->errors[] = $error;
> return FALSE;
> }
> 
> return $result->value[0];
> }
>
> The result from "catch" section is: {"error" : "unauthorized_client"}
> Is possible that my clientID doesn't have right to link another user 
> account?
> Which case can I get this error message?
>
> Thnaks for response.
>
> Grafx.
>
>
>
>
>
> On Tuesday, May 27, 2014 10:10:43 PM UTC+3, Michael Cloonan (AdWords API 
> Team) wrote:
>>
>> Hello,
>>
>> This sounds like it may be a bug with our PHP library, or with a 
>> configuration on your server that conflicts with our PHP library.
>>
>> Could you open a bug for this issue at our library page on GitHub 
>> ? They will be able to 
>> better assist you there with the client-library specific concern.
>>
>> Regards,
>> Mike, AdWords API Team
>>
>> On Monday, May 26, 2014 11:05:11 AM UTC-4, sup...@grafxsoftware.com 
>> wrote:
>>>
>>> Hi! 
>>>
>>> Thanks for the answer!
>>> I tried to link an account with php AdWords api (v201309):
>>> Now the clientCustomerId is the id of the client, and the 
>>> managerCustomerId = $this->user->GetClientCustomerId();
>>> $this->user is the user of my MCC account. ( Like in the examples $user )
>>>
>>> The code is:
>>> // $data is prevalidated data from post.
>>> private function linkingUser( & $data )
>>> {
>>> // Get the service, which loads the required classes.
>>> $managedCustomerService =
>>> $this->user->GetService('ManagedCustomerService', 
>>> ADWORDS_VERSION);
>>>
>>> $link = new ManagedCustomerLink();
>>> $link->clientCustomerId = $data["clientId"]; //CLIENT_CID;
>>> $link->pendingDescriptiveName = "PENDING: " . $data["clientId"];
>>> $link->linkStatus = 'PENDING';
>>> $link->managerCustomerId = $this->user->GetClientCustomerId(); 
>>> //MANAGER_CID;
>>> 
>>> // Create operation.
>>> $operation = new LinkOperation();
>>> 
>>> $operation->operand = $link;
>>> $operation->operator = 'ADD';
>>>
>>> $operations = array(  $operation );
>>>
>>> try
>>> {
>>> // Make the mutate request.
>>> $result = $managedCustomerService->mutate( $operations );
>>> }
>>> catch (Exception $e) {
>>> $message = $e->getMessage();
>>> $this->errors[] = $message;
>>> return FALSE;
>>> }
>>> 
>>> if( empty( $result->value[0] ) )
>>> {
>>> $error = "Linking failed (garfx)." ;
>>> $this->errors[] = $error;
>>> return FALSE;
>>> }
>>> 
>>> return $result->value[0];
>>> }
>>> Probleme 1.)
>>> The result from "catch" section is: {"error" : "unauthorized_client"}
>>>
>>> Probleme 2.)
>>> curl probleme in API: 
>>> Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when 
>>> an open_basedir is set in /var/www/vhosts/
>>> grafxsoftware.com/httpdocs/gapi/src/Google/Api/Ads/Common/Util/CurlUtils.php
>>>  
>>> on line 107
>>>
>>> Thanks for helping.
>>>
>>> Grafx.
>>>
>>>
>>>
>>>
>>> 

Re: [9-4263000003764] Migrating from v201309 to v201402

2014-06-03 Thread Manjula Naidu
hi,

  Thanks for response,before we implemented clientLogin for
authentication process with the same account,when we shifted to oauth2 we
are facing this problem.




On Tue, Jun 3, 2014 at 6:57 PM,  wrote:

> Hello Manjula,
>
> I deleted your post from the public forum because it contained your
> refresh token, which is sensitive information like a password. I am
> responding now in private, just to your email address, so we can discuss
> these more private details. I must ask that you now generate a new refresh
> token in order to proceed.
>
> I believe the error you're seeing is because the refresh token you're
> using is not associated with your AdWords MCC account. When you generate
> the new refresh token, make sure to authenticate as the MCC account when
> prompted to log into Google.
>
> Regards,
> Mike, AdWords API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 06/03/14 09:13:52 manjularavul...@gmail.com wrote:
>
> Hello all,
>
> Thanks for response,But we already implemented Oauthtoken by
> php,This is token *  Authorization = "Bearer
> ya29.KgDioZGFF1OOxSAs-1dgSndM7m3RvOjpKc4hCvr3mdipheDkFTEB7BIIUQ";*
>
>
>
> we sending while searching for any keyword but i am getting error response 
> *AuthenticationError.NOT_ADS_USER
> ,*we tried so many times still i am getting this error,could you help on
> this.Thats why we asking you to create Oauthtoken.
>
>
> Thanks&Regards
>
> R.manjula
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Migrating from v201309 to v201402

2014-06-03 Thread Manjula Naidu
Hello all,

Thanks for response,But we already implemented Oauthtoken by
php,This is token *  Authorization = "Bearer
ya29.KgDioZGFF1OOxSAs-1dgSndM7m3RvOjpKc4hCvr3mdipheDkFTEB7BIIUQ";*



we sending while searching for any keyword but i am getting error
response *AuthenticationError.NOT_ADS_USER
,*we tried so many times still i am getting this error,could you help on
this.Thats why we asking you to create Oauthtoken.


Thanks&Regards

R.manjula

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


Using customer sync selector to find changes made by user

2014-06-03 Thread Dan
Hi guys,

I am using the customer sync selector service to retrieve the list of 
changed campaigns through the AdWords API.
This gives me a complete list of ALL the changed campaigns between two 
datetimes.

Through the AdWords interface, it is possible to filter this list by user, 
e.g. only show the changes made by a specific user.

It it possible to do the same thing through the API?
I want to either specify the user as part of the query, or perform 
filtering after the API has returned a response. Are either of these 
possible?

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: Migrating from v201309 to v201402

2014-06-03 Thread Michael Cloonan (AdWords API Team)
Hello Manjula,

Unfortunately, I will not be able to generate the refresh token for you. 
However, we do have utilities in the same languages as our client libraries 
for helping to generate the refresh token. I understand that you are 
writing your application in Objective C; however, generating the refresh 
token is a one-time thing and is not done as part of your application. It 
should be fairly straightforward to run a quick Python or Ruby script just 
to generate your refresh token, and then to copy that token over to your 
Objective C configuration files.

Here are our supported languages and utilities 

.

Regards,
Mike, AdWords API Team

On Tuesday, June 3, 2014 6:15:57 AM UTC-4, Manjula Naidu wrote:
>
> Hello,
>  
> Thanks for response,We tried so many ways but still same 
> error,could you people generate OAuthtoken for this account 
> maxussmartwo...@gmail.com ,This account already has Adwords API enabled.
>  I have urgent response , i am really waiting for you response , 
> from 1 week onwards i am figting with this problem.Thanks in advance.
> Thanks&Regards
> R.manjula 
>
>  
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: How to set up "Bid only" option in a display network campaing

2014-06-03 Thread Ashish Pathak
Thank you Josh !, Its working.

On Monday, June 2, 2014 10:42:11 PM UTC+5:30, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi Ashish,
>
> You'll need to specify the targeting setting when creating the ad group, 
> e.g.,
>
>   operations = [{
>   'operator': 'ADD',
>   'operand': {
>   'campaignId': campaign_id,
>   'name': 'My ad group',
>   'status': 'ENABLED',
>   'biddingStrategyConfiguration': {
>   'bids': [
>   {
>   'xsi_type': 'CpcBid',
>   'bid': {
>   'microAmount': '100'
>   }
>   }
>   ]
>   },
>   *'settings': [*
> *{*
> *  'xsi_type': 'TargetingSetting',*
> *  'details': [ {*
> *  'targetAll': 'true 
> ',*
> *  'criterionTypeGroup': 'GENDER',*
> *}*
> *  ]*
> *}*
> *  ]*
>   }
>   }]
>   ad_groups = ad_group_service.Mutate(operations)[0]
>
> Cheers,
> Josh, AdWords API Team
> On Monday, June 2, 2014 6:52:54 AM UTC-4, Ashish Pathak wrote:
>>
>> I have also tried-
>>
>> ad_group_criterion_service = client.GetService(
>>   'AdGroupCriterionService', version='v201402')
>>
>>   # Create the ad group criteria.
>>   ad_group_criteria = [
>>   {
>>   'xsi_type': 'BiddableAdGroupCriterion',
>>   'adGroupId': ad_group_id,
>>   'criterion': {
>> 'xsi_type': 'Gender',
>> 'id': GENDER_MALE
>>  },
>>   'targetAll' : True 
>>}  ]
>>
>>
>> Regards,
>> Ashish
>>
>>
>>   
>>
>> On Saturday, May 31, 2014 6:30:14 PM UTC+5:30, Ashish Pathak wrote:
>>>
>>> Hello,
>>>
>>> I wish set targeting setting = 'BID ONLY' for newly created adgroup.
>>>
>>> operations = [{
>>>   'operator': 'ADD',
>>>   'operand': {
>>>   'campaignId': campaign_id,
>>>   'name': 'adgroup_name'
>>>   'status': 'ENABLED',
>>>   'biddingStrategyConfiguration': {
>>>   'bids': [
>>>   {
>>>   'xsi_type': 'CpcBid',
>>>   'bid': {
>>>   'microAmount': '100'
>>>   },
>>>   'TargetingSettingDetail': {
>>>
>>>   'targetAll':True
>>>} 
>>>
>>>   }
>>>   ]
>>>   }
>>>   }
>>>   }]
>>>
>>> I was trying above code but its not working . Can you please provide me 
>>> sample code how to set that?
>>>
>>> Thank you!
>>>
>>> Cheers,
>>> Ashish Pathak
>>>
>>>
>>>
>>> On Monday, January 20, 2014 7:40:42 PM UTC+5:30, Kim Pham wrote:

 Hello everyone,

 We would like to use diffrent targettings for a display network 
 campaign. For exemple, to use keyword display and to add the placements 
 for 
 an adgroup => our ads will be display on the placements automatic thanks 
 to 
 a list of keywords, and ALSO on the placements added for each adgroups.

 I am looking for how to set up automatically the option "bid only" in 
 API for a display network campaign.
 The questions are :
 1) how can we choose the option "bid only"
 2) add a long list of placements for each adgroup.

 Thank you for your help

 Kim




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


Exporting AdWords Information

2014-06-03 Thread Visar
Hi,

I'm trying to compile a database of the entire contents of my AdWords 
Accounts. Is there a way to get this information in one go (like what you 
get when you export a file from AdWords editor)? Or do I just need to get 
things in chunks using the API reports service, e.g. campaign report, 
keyword report etc etc.

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: Migrating from v201309 to v201402

2014-06-03 Thread Manjula Naidu
Hello,

Thanks for response,We tried so many ways but still same
error,could you people generate OAuthtoken for this account
maxussmartwo...@gmail.com ,This account already has Adwords API enabled.
 I have urgent response , i am really waiting for you response ,
from 1 week onwards i am figting with this problem.Thanks in advance.
Thanks&Regards
R.manjula

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